From c5f4c53fb7ed323ea473d3452f75fab2a8393b23 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Sat, 4 Aug 2012 14:14:08 +0400 Subject: [PATCH] lib/libnet/libnet.c: fix unused variable warning --- lib/libnet/libnet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libnet/libnet.c b/lib/libnet/libnet.c index a92487f5e..87a0ef294 100644 --- a/lib/libnet/libnet.c +++ b/lib/libnet/libnet.c @@ -178,11 +178,11 @@ void netGetDefaultRoute( char *ip ) fclose(fp); } -static char dombuf[256]; static char hostbuf[256]; -static char domis=0; static char hostis=0; #if 0 +static char dombuf[256]; +static char domis=0; //never used char *netGetDomainname( void ) {