]> sjero.net Git - wget/commitdiff
[svn] Initialize local variable to shut up the compiler.
authorhniksic <devnull@localhost>
Wed, 1 Oct 2003 19:45:41 +0000 (12:45 -0700)
committerhniksic <devnull@localhost>
Wed, 1 Oct 2003 19:45:41 +0000 (12:45 -0700)
src/ChangeLog
src/ftp.c

index 2709e17f3227de94d3a1a8a4791cc52fd704d1c2..d11c963f93855f0b7acedb5fcb248c1f83ab51a1 100644 (file)
@@ -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
index 9b8b51dfc625999d5dc50197857c36c014f4778e..d99ddb71db43a589ef6dc93d04bb7d090c666478 100644 (file)
--- 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;