aboutsummaryrefslogtreecommitdiff
path: root/lib/if2ip.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2013-04-10 16:44:54 +0200
committerYang Tse <yangsita@gmail.com>2013-04-10 16:44:54 +0200
commitc86ea58304c2d888accfbaff6961bee14b3cc3d9 (patch)
tree943c6a12de466ea80a410cdfc26f53e7e867fa6b /lib/if2ip.c
parent577703495e2ed11c4470f2636fae0c84f0c03bbd (diff)
if2ip.c: fix compiler warning
Diffstat (limited to 'lib/if2ip.c')
-rw-r--r--lib/if2ip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/if2ip.c b/lib/if2ip.c
index a2bad871a..05ae7d6f8 100644
--- a/lib/if2ip.c
+++ b/lib/if2ip.c
@@ -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;