]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
asyn-ares: remove obsolete reference to local_ip6
authorKai Pastor <dg0yt@darc.de>
Sun, 25 May 2025 19:07:46 +0000 (21:07 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 26 May 2025 08:12:28 +0000 (10:12 +0200)
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

index 340d3d51ceaff449115bf8e7c9b79d2279129deb..10f870a15af65b5a8910affc0af0854c8970aa37 100644 (file)
@@ -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
 }