1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-19 18:26:32 +02:00

(process_file): Remove useless disjunct.

This commit is contained in:
Jim Meyering
2003-09-19 06:51:59 +00:00
parent 48294f6a14
commit 32eccc9d08

View File

@@ -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);