wininet: Fully initialize time variable (valgrind).
This commit is contained in:
parent
601b4fa589
commit
b9673bcc4d
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue