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  <hniksic@xemacs.org>
+
+	* ftp.c (ftp_loop_internal): Initialize TMRATE to NULL to shut up
+	the compiler.
+
 2003-09-26  Gisle Vanem  <giva@bgnett.no>
 
 	* 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;