From: Marc Hoersken Date: Sun, 7 Apr 2013 19:04:39 +0000 (+0200) Subject: if2ip.c: Fixed another warning: unused parameter 'remote_scope' X-Git-Tag: curl-7_30_0~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b8c36954f9215b157c30681ca54f0a1235e2ed8;p=thirdparty%2Fcurl.git if2ip.c: Fixed another warning: unused parameter 'remote_scope' --- diff --git a/lib/if2ip.c b/lib/if2ip.c index 43584c75cd..a2bad871af 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) {