From 7438c378bef220a335e03df28c7596a49fdda980 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 30 Aug 2002 11:10:50 +0000 Subject: prevent compiler warning --- lib/hostip.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/hostip.c') diff --git a/lib/hostip.c b/lib/hostip.c index 5a173990b..cb63b4e1f 100644 --- a/lib/hostip.c +++ b/lib/hostip.c @@ -562,6 +562,7 @@ Curl_addrinfo *Curl_getaddrinfo(struct SessionHandle *data, memset(buf, 0, CURL_NAMELOOKUP_SIZE); #ifdef HAVE_GETHOSTBYNAME_R_5 /* Solaris, IRIX and more */ + (void)res; /* prevent compiler warning */ while(!h) { h = gethostbyname_r(hostname, (struct hostent *)buf, -- cgit v1.2.3