mirror of
https://github.com/curl/curl.git
synced 2026-04-28 19:42:22 +03:00
Avoid warning 'port' might be used uninitialized in this function.
This commit is contained in:
parent
684245d6ce
commit
73ebb0edde
1 changed files with 1 additions and 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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue