summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-09-19 06:51:59 +0000
committerJim Meyering <jim@meyering.net>2003-09-19 06:51:59 +0000
commit32eccc9d0874b77ecef3e868570b12a0e455d350 (patch)
tree246cc84e98779dbb36788c762300f1a77bd15412
parent48294f6a14ce7c85ebcf790a5a5e4fa4a87c3ea2 (diff)
downloadcoreutils-32eccc9d0874b77ecef3e868570b12a0e455d350.tar.xz
(process_file): Remove useless disjunct.
-rw-r--r--src/du.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/du.c b/src/du.c
index ddcb13cf4..15b44616a 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);