mirror of
https://github.com/moparisthebest/curl
synced 2025-03-01 01:41:50 -05:00
Avoid warning 'port' might be used uninitialized in this function.
This commit is contained in:
parent
684245d6ce
commit
73ebb0edde
@ -808,7 +808,7 @@ static CURLcode ftp_state_use_port(struct connectdata *conn,
|
|||||||
int error;
|
int error;
|
||||||
char *host=NULL;
|
char *host=NULL;
|
||||||
struct Curl_dns_entry *h=NULL;
|
struct Curl_dns_entry *h=NULL;
|
||||||
unsigned short port;
|
unsigned short port = 0;
|
||||||
|
|
||||||
/* Step 1, figure out what address that is requested */
|
/* Step 1, figure out what address that is requested */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user