1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-06 00:29:44 +02:00

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.
This commit is contained in:
Paul Eggert
2022-01-31 08:42:07 -08:00
parent 904f9e3bf4
commit 836617fa12
+1 -1
View File
@@ -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';