From: Jim Meyering Date: Fri, 19 Sep 2003 06:51:59 +0000 (+0000) Subject: (process_file): Remove useless disjunct. X-Git-Tag: v5.1.0~573 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32eccc9d0874b77ecef3e868570b12a0e455d350;p=thirdparty%2Fcoreutils.git (process_file): Remove useless disjunct. --- diff --git a/src/du.c b/src/du.c index ddcb13cf41..15b44616a6 100644 --- 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);