Gijs Vermeulen : iphlpapi: Fix unused variable warning.

Alexandre Julliard julliard at winehq.org
Fri Apr 3 14:55:39 CDT 2020


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

Author: Gijs Vermeulen <gijsvrm at gmail.com>
Date:   Fri Apr  3 19:02:04 2020 +0200

iphlpapi: Fix unused variable warning.

Signed-off-by: Gijs Vermeulen <gijsvrm at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/iphlpapi/ipstats.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/iphlpapi/ipstats.c b/dlls/iphlpapi/ipstats.c
index 52bd6593b0..f0b412c3a6 100644
--- a/dlls/iphlpapi/ipstats.c
+++ b/dlls/iphlpapi/ipstats.c
@@ -2744,7 +2744,6 @@ DWORD build_tcp6_table( TCP_TABLE_CLASS class, void **tablep, BOOL order, HANDLE
                         DWORD *size )
 {
     MIB_TCP6TABLE *table;
-    MIB_TCP6ROW_OWNER_MODULE row;
     DWORD ret = NO_ERROR, count = 16, table_size, row_size;
 
     if (!(table_size = get_tcp6_table_sizes( class, count, &row_size )))
@@ -2757,6 +2756,7 @@ DWORD build_tcp6_table( TCP_TABLE_CLASS class, void **tablep, BOOL order, HANDLE
 
 #ifdef __linux__
     {
+        MIB_TCP6ROW_OWNER_MODULE row;
         FILE *fp;
 
         if ((fp = fopen( "/proc/net/tcp6", "r" )))




More information about the wine-cvs mailing list