From 0fd653578517663c7ba34778fd480ceabd427d53 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Sat, 9 Mar 2019 00:51:20 +0100 Subject: caja-file: Fix: true and false branches are identical Fixes Clang static analyzer warning: caja-file.c:4858:9: warning: true and false branches are identical } else if (file_date_age < 7) { ^ --- libcaja-private/caja-file.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libcaja-private/caja-file.c b/libcaja-private/caja-file.c index 2d3685a5..182484f0 100644 --- a/libcaja-private/caja-file.c +++ b/libcaja-private/caja-file.c @@ -4855,8 +4855,6 @@ caja_file_fit_date_as_string (CajaFile *file, formats = TODAY_TIME_FORMATS; } else if (file_date_age == 1) { formats = YESTERDAY_TIME_FORMATS; - } else if (file_date_age < 7) { - formats = CURRENT_WEEK_TIME_FORMATS; } else { formats = CURRENT_WEEK_TIME_FORMATS; } -- cgit v1.2.1