From 2d5440843d842b371044781769c3eff1b73eb899 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 31 Jan 2022 08:42:07 -0800 Subject: [PATCH 23/43] 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. --- src/cp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cp.c b/src/cp.c index 5084037f1..b73f2cb49 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'; -- 2.32.0