From: Kai Pastor Date: Sun, 25 May 2025 19:07:46 +0000 (+0200) Subject: asyn-ares: remove obsolete reference to local_ip6 X-Git-Tag: curl-8_14_0~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac7e2c3dc693b43c61898aea89f1a80037505c36;p=thirdparty%2Fcurl.git asyn-ares: remove obsolete reference to local_ip6 7bf576064c moved local_ip6 from the parameter list to the actual implementation of Curl_async_ares_set_dns_local_ip6. The no-op code for !( defined(HAVE_CARES_SET_LOCAL) && defined(USE_IPV6) ) still had an reference which is removed by this change. Closes #17450 --- diff --git a/lib/asyn-ares.c b/lib/asyn-ares.c index 340d3d51ce..10f870a15a 100644 --- a/lib/asyn-ares.c +++ b/lib/asyn-ares.c @@ -945,7 +945,6 @@ CURLcode Curl_async_ares_set_dns_local_ip6(struct Curl_easy *data) return CURLE_OK; #else /* c-ares version too old! */ (void)data; - (void)local_ip6; return CURLE_NOT_BUILT_IN; #endif }