Fix compiler warning: unused variable

This commit is contained in:
Yang Tse 2010-02-04 10:08:39 +00:00
parent 429e544556
commit 15efa262bb

View File

@ -136,7 +136,7 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn,
Curl_addrinfo *Curl_ipv4_resolve_r(const char *hostname, Curl_addrinfo *Curl_ipv4_resolve_r(const char *hostname,
int port) int port)
{ {
#if defined(HAVE_GETHOSTBYNAME_R_3) #if !defined(HAVE_GETADDRINFO_THREADSAFE) && defined(HAVE_GETHOSTBYNAME_R_3)
int res; int res;
#endif #endif
Curl_addrinfo *ai = NULL; Curl_addrinfo *ai = NULL;