diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-08-30 11:10:50 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-08-30 11:10:50 +0000 |
commit | 7438c378bef220a335e03df28c7596a49fdda980 (patch) | |
tree | 52c56eae675cdc3c58b61bbe34016a9775f5dc56 /lib | |
parent | 0e0caf7c063c282fb35b8ab87fde1d38fe32d489 (diff) |
prevent compiler warning
Diffstat (limited to 'lib')
-rw-r--r-- | lib/hostip.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, |