add an initializer

This commit is contained in:
nhmall
2015-04-17 00:46:54 -04:00
parent f6bf9f9999
commit e1155aca6f
+1 -1
View File
@@ -792,7 +792,7 @@ time_from_yyyymmddhhmmss(buf)
char *buf; char *buf;
{ {
int k; int k;
time_t timeresult; time_t timeresult = (time_t)0;
struct tm t, *lt; struct tm t, *lt;
char *g, *p, y[5],mo[3],md[3],h[3],mi[3],s[3]; char *g, *p, y[5],mo[3],md[3],h[3],mi[3],s[3];
if (buf && strlen(buf) == 14) { if (buf && strlen(buf) == 14) {