Module: wine Branch: master Commit: 978e22a85e3efc7913b0e6bcd372c30311d1c0bf URL: http://source.winehq.org/git/wine.git/?a=commit;h=978e22a85e3efc7913b0e6bcd3...
Author: Amine Khaldi amine48rz@gmail.com Date: Wed Dec 16 18:57:38 2009 +0100
inetcomm: Remove an unneeded variable.
---
dlls/inetcomm/internettransport.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/dlls/inetcomm/internettransport.c b/dlls/inetcomm/internettransport.c index af4772c..dcce0d9 100644 --- a/dlls/inetcomm/internettransport.c +++ b/dlls/inetcomm/internettransport.c @@ -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;