mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
silense a warning
This commit is contained in:
parent
b5bb9aa8e3
commit
50e9522a06
@ -435,8 +435,10 @@ static curl_socket_t mksock(bool use_ipv6)
|
||||
curl_socket_t sock;
|
||||
#ifdef ENABLE_IPV6
|
||||
if(!use_ipv6)
|
||||
#else
|
||||
(void)use_ipv6;
|
||||
#endif
|
||||
sock = socket(AF_INET, SOCK_STREAM, 0);
|
||||
sock = socket(AF_INET, SOCK_STREAM, 0);
|
||||
#ifdef ENABLE_IPV6
|
||||
else
|
||||
sock = socket(AF_INET6, SOCK_STREAM, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user