Skip to content
Snippets Groups Projects
Commit 15efa262 authored by Yang Tse's avatar Yang Tse
Browse files

Fix compiler warning: unused variable
parent 429e5445
No related branches found
No related tags found
No related merge requests found
......@@ -136,7 +136,7 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn,
Curl_addrinfo *Curl_ipv4_resolve_r(const char *hostname,
int port)
{
#if defined(HAVE_GETHOSTBYNAME_R_3)
#if !defined(HAVE_GETADDRINFO_THREADSAFE) && defined(HAVE_GETHOSTBYNAME_R_3)
int res;
#endif
Curl_addrinfo *ai = NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment