wininet: Remove some dead code (Coverity).
This commit is contained in:
parent
601738dfb5
commit
d87724e626
|
@ -3289,7 +3289,7 @@ static DWORD HTTP_HttpOpenRequestW(http_session_t *session,
|
||||||
{
|
{
|
||||||
appinfo_t *hIC = session->appInfo;
|
appinfo_t *hIC = session->appInfo;
|
||||||
http_request_t *request;
|
http_request_t *request;
|
||||||
DWORD len, res = ERROR_SUCCESS;
|
DWORD len;
|
||||||
|
|
||||||
TRACE("-->\n");
|
TRACE("-->\n");
|
||||||
|
|
||||||
|
@ -3378,13 +3378,7 @@ static DWORD HTTP_HttpOpenRequestW(http_session_t *session,
|
||||||
INTERNET_STATUS_HANDLE_CREATED, &request->hdr.hInternet,
|
INTERNET_STATUS_HANDLE_CREATED, &request->hdr.hInternet,
|
||||||
sizeof(HINTERNET));
|
sizeof(HINTERNET));
|
||||||
|
|
||||||
TRACE("<-- %u (%p)\n", res, request);
|
TRACE("<-- (%p)\n", request);
|
||||||
|
|
||||||
if(res != ERROR_SUCCESS) {
|
|
||||||
WININET_Release( &request->hdr );
|
|
||||||
*ret = NULL;
|
|
||||||
return res;
|
|
||||||
}
|
|
||||||
|
|
||||||
*ret = request->hdr.hInternet;
|
*ret = request->hdr.hInternet;
|
||||||
return ERROR_SUCCESS;
|
return ERROR_SUCCESS;
|
||||||
|
|
Loading…
Reference in New Issue