Commit 2d5ca309 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

wininet: Removed redundant NULL check (Coverity).

parent c009f9c9
...@@ -2354,8 +2354,6 @@ static BOOL HTTP_HttpQueryInfoW( LPWININETHTTPREQW lpwhr, DWORD dwInfoLevel, ...@@ -2354,8 +2354,6 @@ static BOOL HTTP_HttpQueryInfoW( LPWININETHTTPREQW lpwhr, DWORD dwInfoLevel,
tmpTM = *gmtime(&tmpTime); tmpTM = *gmtime(&tmpTime);
STHook = (SYSTEMTIME *)lpBuffer; STHook = (SYSTEMTIME *)lpBuffer;
if (!STHook) return bSuccess;
STHook->wDay = tmpTM.tm_mday; STHook->wDay = tmpTM.tm_mday;
STHook->wHour = tmpTM.tm_hour; STHook->wHour = tmpTM.tm_hour;
STHook->wMilliseconds = 0; STHook->wMilliseconds = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment