Alexander Morozov : wininet: Remove unneeded variable.

Alexandre Julliard julliard at winehq.org
Fri Jul 4 13:59:19 CDT 2008


Module: wine
Branch: master
Commit: 70218092bb90e023c40211e01c29ea3c811d1769
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=70218092bb90e023c40211e01c29ea3c811d1769

Author: Alexander Morozov <amorozov at etersoft.ru>
Date:   Thu Jul  3 16:22:33 2008 +0400

wininet: Remove unneeded variable.

---

 dlls/wininet/http.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c
index 5e527a1..970e502 100644
--- a/dlls/wininet/http.c
+++ b/dlls/wininet/http.c
@@ -1394,7 +1394,6 @@ static void HTTPREQ_Destroy(WININETHANDLEHEADER *hdr)
 static void HTTPREQ_CloseConnection(WININETHANDLEHEADER *hdr)
 {
     LPWININETHTTPREQW lpwhr = (LPWININETHTTPREQW) hdr;
-    LPWININETHTTPSESSIONW lpwhs = NULL;
 
     TRACE("%p\n",lpwhr);
 
@@ -1426,8 +1425,6 @@ static void HTTPREQ_CloseConnection(WININETHANDLEHEADER *hdr)
         lpwhr->pProxyAuthInfo = NULL;
     }
 
-    lpwhs = lpwhr->lpHttpSession;
-
     INTERNET_SendCallback(&lpwhr->hdr, lpwhr->hdr.dwContext,
                           INTERNET_STATUS_CLOSING_CONNECTION, 0, 0);
 




More information about the wine-cvs mailing list