mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
if2ip.c: Fixed another warning: unused parameter 'remote_scope'
This commit is contained in:
parent
762961fe35
commit
6b8c36954f
@ -89,6 +89,10 @@ if2ip_result_t Curl_if2ip(int af, unsigned int remote_scope,
|
||||
struct ifaddrs *iface, *head;
|
||||
if2ip_result_t res = IF2IP_NOT_FOUND;
|
||||
|
||||
#ifndef ENABLE_IPV6
|
||||
(void) remote_scope;
|
||||
#endif
|
||||
|
||||
if(getifaddrs(&head) >= 0) {
|
||||
for(iface=head; iface != NULL; iface=iface->ifa_next) {
|
||||
if(iface->ifa_addr != NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user