mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-19 02:10:57 +02:00
(show_date): Remove now-unnecessary code that
treated an empty format string as a special case.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user