diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2022-01-31 08:42:07 -0800 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2022-01-31 12:07:39 -0800 |
| commit | 836617fa127faf470d78866edbaf745c1709320a (patch) | |
| tree | 0d81403a2c462a44a96c20a9c81276e1143f36b9 | |
| parent | chown: simplify -fsanitize=leak pacification (diff) | |
| download | coreutils-836617fa127faf470d78866edbaf745c1709320a.tar.gz coreutils-836617fa127faf470d78866edbaf745c1709320a.zip | |
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.
| -rw-r--r-- | src/cp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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'; |
