diff options
author | Jim Meyering <jim@meyering.net> | 2005-08-02 20:44:38 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-08-02 20:44:38 +0000 |
commit | eed7b1380598c844695b336f41ec4d5cc76489ac (patch) | |
tree | f7427aa0ae408b6969086422150b353507191d30 | |
parent | 73ebfeb75a439dcf0a0e52e28c877709ec5c6036 (diff) | |
download | coreutils-eed7b1380598c844695b336f41ec4d5cc76489ac.tar.xz |
(show_date): Remove now-unnecessary code that
treated an empty format string as a special case.
-rw-r--r-- | src/date.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/date.c b/src/date.c index 8eafd090d..fc973e763 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) |