From c86ea58304c2d888accfbaff6961bee14b3cc3d9 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 10 Apr 2013 16:44:54 +0200 Subject: if2ip.c: fix compiler warning --- lib/if2ip.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.2.3