diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2006-01-30 18:57:02 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2006-01-30 18:57:02 +0000 |
commit | 5994b62930c004deccff61b7670ebf6debadfaa2 (patch) | |
tree | 866422894e9141087322a81be27a4e8e5d653395 /lib | |
parent | 2fbf94b0f309de9bd9153274bb475abc744afb0a (diff) |
Squelch the "warning: 'port' might be used uninitialized in this function".
(occurs w/o ENABLE_IPV6).
Diffstat (limited to 'lib')
-rw-r--r-- | lib/connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connect.c b/lib/connect.c index 902721c80..787951136 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -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); |