iphlpapi: Fix unused variable warning.
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a294767e32
commit
7096ab4544
|
@ -2744,7 +2744,6 @@ DWORD build_tcp6_table( TCP_TABLE_CLASS class, void **tablep, BOOL order, HANDLE
|
||||||
DWORD *size )
|
DWORD *size )
|
||||||
{
|
{
|
||||||
MIB_TCP6TABLE *table;
|
MIB_TCP6TABLE *table;
|
||||||
MIB_TCP6ROW_OWNER_MODULE row;
|
|
||||||
DWORD ret = NO_ERROR, count = 16, table_size, row_size;
|
DWORD ret = NO_ERROR, count = 16, table_size, row_size;
|
||||||
|
|
||||||
if (!(table_size = get_tcp6_table_sizes( class, count, &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__
|
#ifdef __linux__
|
||||||
{
|
{
|
||||||
|
MIB_TCP6ROW_OWNER_MODULE row;
|
||||||
FILE *fp;
|
FILE *fp;
|
||||||
|
|
||||||
if ((fp = fopen( "/proc/net/tcp6", "r" )))
|
if ((fp = fopen( "/proc/net/tcp6", "r" )))
|
||||||
|
|
Loading…
Reference in New Issue