projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fbf94b
)
Squelch the "warning: 'port' might be used uninitialized in this function".
author
Gisle Vanem
<gvanem@broadpark.no>
Mon, 30 Jan 2006 18:57:02 +0000
(18:57 +0000)
committer
Gisle Vanem
<gvanem@broadpark.no>
Mon, 30 Jan 2006 18:57:02 +0000
(18:57 +0000)
(occurs w/o ENABLE_IPV6).
lib/connect.c
patch
|
blob
|
history
diff --git
a/lib/connect.c
b/lib/connect.c
index 902721c80204819cb8959b9a54ffd2c2a5fbe5d6..787951136ee1515bbbfcbc25d04182c917189e3d 100644
(file)
--- 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);