]> granicus.if.org Git - curl/commitdiff
if2ip.c: fix compiler warning
authorYang Tse <yangsita@gmail.com>
Wed, 10 Apr 2013 14:44:54 +0000 (16:44 +0200)
committerYang Tse <yangsita@gmail.com>
Wed, 10 Apr 2013 14:44:54 +0000 (16:44 +0200)
lib/if2ip.c

index a2bad871af5e11540eeef17bb9ce4ee776b1465f..05ae7d6f87cbdfc7bd83cf803e61fff39bd20a80 100644 (file)
@@ -162,6 +162,8 @@ if2ip_result_t Curl_if2ip(int af, unsigned int remote_scope,
   curl_socket_t dummy;
   size_t len;
 
+  (void)remote_scope;
+
   if(!interf || (af != AF_INET))
     return IF2IP_NOT_FOUND;