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:
Gisle Vanem
2005-05-14 06:00:40 +00:00
parent 6a04a03eb5
commit ecdcb0ef67
2 changed files with 2 additions and 2 deletions

View File

@@ -2277,7 +2277,7 @@ static CURLcode ftp_statemach_act(struct connectdata *conn)
static const char * const ftpauth[] = {
"SSL", "TLS"
};
size_t nread;
size_t nread = 0;
if(ftp->sendleft) {
/* we have a piece of a command still left to send */