mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
Fix compiler warning: unused variable
This commit is contained in:
parent
429e544556
commit
15efa262bb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user