mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
if2ip.c: fix compiler warning
This commit is contained in:
parent
577703495e
commit
c86ea58304
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user