From ecdcb0ef67882b6d80e4849142bb3f398e1fac0b Mon Sep 17 00:00:00 2001 From: Gisle Vanem Date: Sat, 14 May 2005 06:00:40 +0000 Subject: Some patches for (a stricter/smarter) gcc 4.0 and warnings like: 'x' may be used uninitialized in this function. --- lib/ftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ftp.c') diff --git a/lib/ftp.c b/lib/ftp.c index 0d7d5a927..98b197a8b 100644 --- a/lib/ftp.c +++ b/lib/ftp.c @@ -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 */ -- cgit v1.2.3