connect: fix compile errors in `Curl_conninfo_local`

.. for the `#else` (`!HAVE_GETSOCKNAME`) case

Fixes https://github.com/curl/curl/issues/6548
Closes #6549

Signed-off-by: Layla <layla@insightfulvr.com>
This commit is contained in:
Layla 2021-01-29 14:21:35 -05:00 committed by Daniel Stenberg
parent 1c1158a9dd
commit 4fc5e7eda5
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
1 changed files with 2 additions and 1 deletions

View File

@ -737,8 +737,9 @@ void Curl_conninfo_local(struct Curl_easy *data, curl_socket_t sockfd,
}
#else
(void)data;
(void)conn;
(void)sockfd;
(void)local_ip;
(void)local_port;
#endif
}