(show_date): Remove now-unnecessary code that

treated an empty format string as a special case.
This commit is contained in:
Jim Meyering committed 2005-08-02 20:44:38 +00:00
1 parent 73ebfeb75a
commit eed7b13805
1 file changed
-5
-5
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)