Don't print uninitialized data (or anything else) to stdout
authorJim Meyering <jim@meyering.net>
Mon, 15 Aug 2005 12:16:54 +0000 (12:16 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 15 Aug 2005 12:16:54 +0000 (12:16 +0000)
upon localtime failure.

(show_date): Remove stray `puts (buf);' (debugging?)
from the 2004-02-02 change.

src/date.c

index 2206cd8..da2bf55 100644 (file)
@@ -519,7 +519,6 @@ show_date (const char *format, struct timespec when)
             (TYPE_SIGNED (time_t)
              ? imaxtostr (when.tv_sec, buf)
              : umaxtostr (when.tv_sec, buf)));
-      puts (buf);
       return false;
     }