]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(process_file): Remove useless disjunct.
authorJim Meyering <jim@meyering.net>
Fri, 19 Sep 2003 06:51:59 +0000 (06:51 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 19 Sep 2003 06:51:59 +0000 (06:51 +0000)
src/du.c

index ddcb13cf4100c9b19821adbb24eb7d2f266e20de..15b44616a6340fd267b2f3c0fe1661db961384b8 100644 (file)
--- a/src/du.c
+++ b/src/du.c
@@ -461,9 +461,7 @@ process_file (const char *file, const struct stat *sb, int file_type,
   if (!print)
     return 0;
 
-  /* FIXME: This looks suspiciously like it could be simplified.  */
-  if ((IS_FTW_DIR_TYPE (file_type) &&
-                    (info->level <= max_depth || info->level == 0))
+  if ((IS_FTW_DIR_TYPE (file_type) && info->level <= max_depth)
       || ((opt_all && info->level <= max_depth) || info->level == 0))
     {
       print_only_size (size_to_print);