Commit 978e22a8 authored by Amine Khaldi's avatar Amine Khaldi Committed by Alexandre Julliard

inetcomm: Remove an unneeded variable.

parent 4ec69798
...@@ -167,14 +167,12 @@ HRESULT InternetTransport_HandsOffCallback(InternetTransport *This) ...@@ -167,14 +167,12 @@ HRESULT InternetTransport_HandsOffCallback(InternetTransport *This)
HRESULT InternetTransport_DropConnection(InternetTransport *This) HRESULT InternetTransport_DropConnection(InternetTransport *This)
{ {
int ret;
if (This->Status == IXP_DISCONNECTED) if (This->Status == IXP_DISCONNECTED)
return IXP_E_NOT_CONNECTED; 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); DestroyWindow(This->hwnd);
This->hwnd = NULL; This->hwnd = NULL;
......
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