if2ip.c: fix compiler warning

This commit is contained in:
Yang Tse 2013-04-10 16:44:54 +02:00
parent 577703495e
commit c86ea58304

View 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;