Commit 003ea491 003ea4910153786113208cc07d6b8f0a1f6b8707 by Sergey Poznyakoff

(mu_parse_date): Initialize struct tm

1 parent 173d9f62
...@@ -1052,6 +1052,7 @@ mu_parse_date (const char *p, time_t *rettime, const time_t *now) ...@@ -1052,6 +1052,7 @@ mu_parse_date (const char *p, time_t *rettime, const time_t *now)
1052 if (!tmp) 1052 if (!tmp)
1053 return -1; 1053 return -1;
1054 1054
1055 memset (&tm, 0, sizeof tm);
1055 tm.tm_isdst = tmp->tm_isdst; 1056 tm.tm_isdst = tmp->tm_isdst;
1056 1057
1057 if (yyparse ()) 1058 if (yyparse ())
......