From 45b2661a5a8f078ee642c4db8c8f6d4812cc98c7 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 17 Feb 2007 11:59:08 +0000 Subject: [PATCH] compiler warning fix --- ares_gethostbyaddr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ares_gethostbyaddr.c b/ares_gethostbyaddr.c index 777d2f7a..0faeaec2 100644 --- a/ares_gethostbyaddr.c +++ b/ares_gethostbyaddr.c @@ -186,9 +186,9 @@ static int file_lookup(union ares_addr *addr, int family, struct hostent **host) { FILE *fp; int status; + int error; #ifdef WIN32 - int error; char PATH_HOSTS[MAX_PATH]; if (IS_NT()) { char tmp[MAX_PATH];