Commit 7b3cf21d authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

wininet: Remove some dead code (Coverity).

parent 67e6040c
......@@ -2983,10 +2983,7 @@ HINTERNET WINAPI InternetOpenUrlW(HINTERNET hInternet, LPCWSTR lpszUrl,
workRequest.asyncall = INTERNETOPENURLW;
workRequest.hdr = WININET_AddRef( &hIC->hdr );
req = &workRequest.u.InternetOpenUrlW;
if (lpszUrl)
req->lpszUrl = WININET_strdupW(lpszUrl);
else
req->lpszUrl = 0;
req->lpszUrl = WININET_strdupW(lpszUrl);
if (lpszHeaders)
req->lpszHeaders = WININET_strdupW(lpszHeaders);
else
......
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