diff options
author | Marc Hoersken <info@marc-hoersken.de> | 2013-04-07 21:04:39 +0200 |
---|---|---|
committer | Marc Hoersken <info@marc-hoersken.de> | 2013-04-07 21:04:50 +0200 |
commit | 6b8c36954f9215b157c30681ca54f0a1235e2ed8 (patch) | |
tree | 722f0f482b3b73ca2435e71a0eadc36c28f02729 | |
parent | 762961fe352dbb8bc08f58b26ca8a18e7dd1999d (diff) |
if2ip.c: Fixed another warning: unused parameter 'remote_scope'
-rw-r--r-- | lib/if2ip.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/if2ip.c b/lib/if2ip.c index 43584c75c..a2bad871a 100644 --- a/lib/if2ip.c +++ b/lib/if2ip.c @@ -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) { |