mirror of
https://github.com/moparisthebest/curl
synced 2024-10-31 15:45:12 -04:00
Some patches for (a stricter/smarter) gcc 4.0 and
warnings like: 'x' may be used uninitialized in this function.
This commit is contained in:
parent
6a04a03eb5
commit
ecdcb0ef67
@ -2277,7 +2277,7 @@ static CURLcode ftp_statemach_act(struct connectdata *conn)
|
|||||||
static const char * const ftpauth[] = {
|
static const char * const ftpauth[] = {
|
||||||
"SSL", "TLS"
|
"SSL", "TLS"
|
||||||
};
|
};
|
||||||
size_t nread;
|
size_t nread = 0;
|
||||||
|
|
||||||
if(ftp->sendleft) {
|
if(ftp->sendleft) {
|
||||||
/* we have a piece of a command still left to send */
|
/* we have a piece of a command still left to send */
|
||||||
|
@ -2217,7 +2217,7 @@ static CURLcode CreateConnection(struct SessionHandle *data,
|
|||||||
char *at;
|
char *at;
|
||||||
CURLcode result=CURLE_OK;
|
CURLcode result=CURLE_OK;
|
||||||
struct connectdata *conn;
|
struct connectdata *conn;
|
||||||
struct connectdata *conn_temp;
|
struct connectdata *conn_temp = NULL;
|
||||||
size_t urllen;
|
size_t urllen;
|
||||||
struct Curl_dns_entry *hostaddr;
|
struct Curl_dns_entry *hostaddr;
|
||||||
#if defined(HAVE_ALARM) && !defined(USE_ARES)
|
#if defined(HAVE_ALARM) && !defined(USE_ARES)
|
||||||
|
Loading…
Reference in New Issue
Block a user