From: Paul Eggert Date: Mon, 31 Jan 2022 16:42:07 +0000 (-0800) Subject: cp: simplify GCC pacification X-Git-Tag: v9.1~97 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=836617fa127faf470d78866edbaf745c1709320a;p=thirdparty%2Fcoreutils.git cp: simplify GCC pacification * src/cp.c (make_dir_parents_private): Remove IF_LINT code that is no longer needed, as GCC has apparently gotten smarter since 2008. --- diff --git a/src/cp.c b/src/cp.c index 5084037f15..b73f2cb491 100644 --- a/src/cp.c +++ b/src/cp.c @@ -404,7 +404,7 @@ make_dir_parents_private (char const *const_dir, size_t src_offset, while ((slash = strchr (slash, '/'))) { - struct dir_attr *new IF_LINT ( = NULL); + struct dir_attr *new; bool missing_dir; *slash = '\0';