silense a warning
This commit is contained in:
@@ -435,6 +435,8 @@ static curl_socket_t mksock(bool use_ipv6)
|
|||||||
curl_socket_t sock;
|
curl_socket_t sock;
|
||||||
#ifdef ENABLE_IPV6
|
#ifdef ENABLE_IPV6
|
||||||
if(!use_ipv6)
|
if(!use_ipv6)
|
||||||
|
#else
|
||||||
|
(void)use_ipv6;
|
||||||
#endif
|
#endif
|
||||||
sock = socket(AF_INET, SOCK_STREAM, 0);
|
sock = socket(AF_INET, SOCK_STREAM, 0);
|
||||||
#ifdef ENABLE_IPV6
|
#ifdef ENABLE_IPV6
|
||||||
|
|||||||
Reference in New Issue
Block a user