mirror of
https://github.com/curl/curl.git
synced 2026-06-04 12:54:15 +03:00
connect: fix compiler warning: unused variable
This commit is contained in:
parent
11cddb68e0
commit
5d47bf3776
1 changed files with 1 additions and 1 deletions
|
|
@ -824,7 +824,7 @@ singleipconnect(struct connectdata *conn,
|
|||
struct SessionHandle *data = conn->data;
|
||||
curl_socket_t sockfd;
|
||||
CURLcode res = CURLE_OK;
|
||||
#ifdef ENABLE_IPV6
|
||||
#if defined(ENABLE_IPV6) && defined(HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID)
|
||||
struct sockaddr_in6 * const sa6 = (void *)&addr.sa_addr;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue