Skip to content
Snippets Groups Projects
Commit 5994b629 authored by Gisle Vanem's avatar Gisle Vanem
Browse files

Squelch the "warning: 'port' might be used uninitialized in this function".

(occurs w/o ENABLE_IPV6).
parent 2fbf94b0
No related branches found
No related tags found
No related merge requests found
......@@ -374,7 +374,7 @@ static CURLcode bindlocal(struct connectdata *conn,
if( bind(sockfd, sock, socksize) >= 0) {
/* we succeeded to bind */
struct Curl_sockaddr_storage add;
unsigned short port;
unsigned short port = 0;
size_t size;
size = sizeof(add);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment