diff options
author | Jim Meyering <jim@meyering.net> | 2003-09-19 06:51:59 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-09-19 06:51:59 +0000 |
commit | 32eccc9d0874b77ecef3e868570b12a0e455d350 (patch) | |
tree | 246cc84e98779dbb36788c762300f1a77bd15412 | |
parent | 48294f6a14ce7c85ebcf790a5a5e4fa4a87c3ea2 (diff) | |
download | coreutils-32eccc9d0874b77ecef3e868570b12a0e455d350.tar.xz |
(process_file): Remove useless disjunct.
-rw-r--r-- | src/du.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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); |