fix possible unititialized pointer usage

This commit is contained in:
Anatol Belski 2015-03-12 13:00:36 +01:00
parent 1923c7a9b8
commit 11716401bd

View File

@ -78,7 +78,7 @@ file_fmttime(uint64_t v, int flags, char *buf)
{
char *pp;
time_t t = (time_t)v;
struct tm *tm;
struct tm *tm = NULL;
if (flags & FILE_T_WINDOWS) {
struct timeval ts;