From eed7b1380598c844695b336f41ec4d5cc76489ac Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 2 Aug 2005 20:44:38 +0000 Subject: [PATCH] (show_date): Remove now-unnecessary code that treated an empty format string as a special case. --- src/date.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/date.c b/src/date.c index 8eafd09..fc973e7 100644 --- a/src/date.c +++ b/src/date.c @@ -511,11 +511,6 @@ show_date (const char *format, struct timespec when) format = *date_fmt ? date_fmt : "%a %b %e %H:%M:%S %Z %Y"; } } - else if (*format == '\0') - { - printf ("\n"); - return true; - } tm = localtime (&when.tv_sec); if (! tm) -- 2.7.4