wininet: Remove unneeded variable

Alexander Morozov amorozov at etersoft.ru
Fri Jul 4 03:05:33 CDT 2008


Changelog:
Remove unneeded variable
-------------- next part --------------
From eed84699dee3accf488eed2440c13cd02c58d397 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov at etersoft.ru>
Date: Thu, 3 Jul 2008 16:22:33 +0400
Subject: [PATCH] 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);
 
-- 
1.5.4.5.GIT



More information about the wine-patches mailing list