mirror of
https://github.com/curl/curl.git
synced 2026-05-06 14:37:28 +03:00
if2ip.c: fix compiler warning
This commit is contained in:
parent
577703495e
commit
c86ea58304
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue