From: hniksic Date: Wed, 1 Oct 2003 19:45:41 +0000 (-0700) Subject: [svn] Initialize local variable to shut up the compiler. X-Git-Tag: v1.13~1644 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=d0f4a1e109f6ac382541d0190db90c7fcbf9d8c3 [svn] Initialize local variable to shut up the compiler. --- diff --git a/src/ChangeLog b/src/ChangeLog index 2709e17f..d11c963f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2003-10-01 Hrvoje Niksic + + * ftp.c (ftp_loop_internal): Initialize TMRATE to NULL to shut up + the compiler. + 2003-09-26 Gisle Vanem * src/mswindows.c: Added ws_percenttitle() showing progress in the diff --git a/src/ftp.c b/src/ftp.c index 9b8b51df..d99ddb71 100644 --- a/src/ftp.c +++ b/src/ftp.c @@ -1029,7 +1029,8 @@ ftp_loop_internal (struct url *u, struct fileinfo *f, ccon *con) { int count, orig_lp; long restval, len; - char *tms, *tmrate, *locf; + char *tms, *locf; + char *tmrate = NULL; uerr_t err; struct stat st;