wininet: Fully initialize time variable (valgrind).

This commit is contained in:
Juan Lang 2011-03-07 13:13:11 -08:00 committed by Alexandre Julliard
parent 601b4fa589
commit b9673bcc4d
1 changed files with 1 additions and 1 deletions

View File

@ -3769,7 +3769,7 @@ static BOOL HTTP_ParseRfc1123Date(LPCWSTR value, FILETIME *ft)
WCHAR *nextPtr, day[4], month[4], *monthPtr; WCHAR *nextPtr, day[4], month[4], *monthPtr;
LPCWSTR ptr; LPCWSTR ptr;
unsigned long num; unsigned long num;
SYSTEMTIME st; SYSTEMTIME st = { 0 };
ptr = strchrW(value, ','); ptr = strchrW(value, ',');
if (!ptr) if (!ptr)