diff options
Diffstat (limited to 'lib/if2ip.c')
-rw-r--r-- | lib/if2ip.c | 2 |
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; |