mirror of
https://github.com/reactos/wine.git
synced 2025-01-21 03:15:18 +00:00
urlmon: Change some gotos to return.
This commit is contained in:
parent
b8880e1640
commit
262db80776
@ -558,22 +558,22 @@ static HRESULT WINAPI HttpProtocol_Continue(IInternetProtocol *iface, PROTOCOLDA
|
||||
if (!pProtocolData)
|
||||
{
|
||||
WARN("Expected pProtocolData to be non-NULL\n");
|
||||
goto done;
|
||||
return S_OK;
|
||||
}
|
||||
else if (!This->request)
|
||||
{
|
||||
WARN("Expected request to be non-NULL\n");
|
||||
goto done;
|
||||
return S_OK;
|
||||
}
|
||||
else if (!This->http_negotiate)
|
||||
{
|
||||
WARN("Expected IHttpNegotiate pointer to be non-NULL\n");
|
||||
goto done;
|
||||
return S_OK;
|
||||
}
|
||||
else if (!This->protocol_sink)
|
||||
{
|
||||
WARN("Expected IInternetProtocolSink pointer to be non-NULL\n");
|
||||
goto done;
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
if (pProtocolData->pData == (LPVOID)BINDSTATUS_DOWNLOADINGDATA)
|
||||
|
Loading…
x
Reference in New Issue
Block a user