mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
(show_date): Remove now-unnecessary code that
treated an empty format string as a special case.
This commit is contained in:
1 parent
73ebfeb75a
commit
eed7b13805
1 file changed
-5
@@ -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