mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 02:28:19 +00:00
inetcomm: Remove an unneeded variable.
This commit is contained in:
parent
4ec6979825
commit
978e22a85e
|
@ -167,14 +167,12 @@ HRESULT InternetTransport_HandsOffCallback(InternetTransport *This)
|
|||
|
||||
HRESULT InternetTransport_DropConnection(InternetTransport *This)
|
||||
{
|
||||
int ret;
|
||||
|
||||
if (This->Status == IXP_DISCONNECTED)
|
||||
return IXP_E_NOT_CONNECTED;
|
||||
|
||||
ret = shutdown(This->Socket, SD_BOTH);
|
||||
shutdown(This->Socket, SD_BOTH);
|
||||
|
||||
ret = closesocket(This->Socket);
|
||||
closesocket(This->Socket);
|
||||
|
||||
DestroyWindow(This->hwnd);
|
||||
This->hwnd = NULL;
|
||||
|
|
Loading…
Reference in a new issue