Alex Henrie : urlmon: Remove unused variable has_ipv6.

Alexandre Julliard julliard at winehq.org
Mon Nov 16 15:28:57 CST 2020


Module: wine
Branch: master
Commit: 621ed4b61d33c729154863eaea31be92d26c2cb9
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=621ed4b61d33c729154863eaea31be92d26c2cb9

Author: Alex Henrie <alexhenrie24 at gmail.com>
Date:   Mon Nov 16 00:29:20 2020 -0700

urlmon: Remove unused variable has_ipv6.

Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/urlmon/uri.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dlls/urlmon/uri.c b/dlls/urlmon/uri.c
index 7f5dc155027..b16ad07d6a8 100644
--- a/dlls/urlmon/uri.c
+++ b/dlls/urlmon/uri.c
@@ -173,7 +173,6 @@ typedef struct {
     DWORD           host_len;
     Uri_HOST_TYPE   host_type;
 
-    BOOL            has_ipv6;
     ipv6_address    ipv6_address;
 
     BOOL            has_port;
@@ -1699,7 +1698,6 @@ static BOOL parse_ipv6address(const WCHAR **ptr, parse_data *data) {
     }
 
     data->host_type = Uri_HOST_IPV6;
-    data->has_ipv6 = TRUE;
     data->ipv6_address = ip;
 
     TRACE("(%p %p): Found valid IPv6 literal %s len=%d\n", ptr, data, debugstr_wn(start, *ptr-start), (int)(*ptr-start));




More information about the wine-cvs mailing list