diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2006-07-20 15:54:01 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2006-07-20 15:54:01 +0000 |
commit | 73ebb0edde56e96d60cd9475b3bce32ec8ab2943 (patch) | |
tree | 6cda4c908d7ad94dd64c150243a575879d4fdc6e /lib/ftp.c | |
parent | 684245d6cecd793ca44cf23e6206b6a2a09f046e (diff) | |
download | curl-73ebb0edde56e96d60cd9475b3bce32ec8ab2943.tar.gz |
Avoid warning 'port' might be used uninitialized in this function.
Diffstat (limited to 'lib/ftp.c')
-rw-r--r-- | lib/ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -808,7 +808,7 @@ static CURLcode ftp_state_use_port(struct connectdata *conn, int error; char *host=NULL; struct Curl_dns_entry *h=NULL; - unsigned short port; + unsigned short port = 0; /* Step 1, figure out what address that is requested */ |