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

Avoid warning 'port' might be used uninitialized in this function.

parent 684245d6
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
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