1
0
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:
Jim Meyering
2005-08-02 20:44:38 +00:00
parent 73ebfeb75a
commit eed7b13805

View File

@@ -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)