From d0f4a1e109f6ac382541d0190db90c7fcbf9d8c3 Mon Sep 17 00:00:00 2001 From: hniksic Date: Wed, 1 Oct 2003 12:45:41 -0700 Subject: [PATCH] [svn] Initialize local variable to shut up the compiler. --- src/ChangeLog | 5 +++++ src/ftp.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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;