Permalink
Browse files

if2ip.c: Fixed another warning: unused parameter 'remote_scope'

  • Loading branch information...
1 parent 762961f commit 6b8c36954f9215b157c30681ca54f0a1235e2ed8 @mback2k mback2k committed Apr 7, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/if2ip.c
View
@@ -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) {

0 comments on commit 6b8c369

Please sign in to comment.