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
This commit is contained in:
Kai Pastor 2025-05-25 21:07:46 +02:00 committed by Daniel Stenberg
parent 745c3519a5
commit ac7e2c3dc6
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View 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
}