From ac7e2c3dc693b43c61898aea89f1a80037505c36 Mon Sep 17 00:00:00 2001 From: Kai Pastor Date: Sun, 25 May 2025 21:07:46 +0200 Subject: [PATCH] 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 --- lib/asyn-ares.c | 1 - 1 file changed, 1 deletion(-) 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 } -- 2.47.2