diff src/uicommon/gftpui.c @ 517:648bf2825ea9

2004-7-27 Brian Masney <masneyb@gftp.org> * lib/rfc2068.c lib/sshv2.c src/gtk/bookmarks.c src/gtk/chmod_dialog.c src/gtk/gtkui.c src/gtk/transfer.c src/uicommon/gftpui.c - removed unused variables * src/gtk/misc-gtk.c (progress_timeout) - fixed implicit integer to float conversion
author masneyb
date Tue, 27 Jul 2004 20:43:39 +0000
parents e55d8b35d809
children c6a6e908dbaf
line wrap: on
line diff
--- a/src/uicommon/gftpui.c	Tue Jul 27 02:46:54 2004 +0000
+++ b/src/uicommon/gftpui.c	Tue Jul 27 20:43:39 2004 +0000
@@ -1283,8 +1283,8 @@
   intptr_t preserve_permissions;
   struct timeval updatetime;
   ssize_t num_read, ret;
-  int i, tofd, fromfd;
   gftp_file * curfle; 
+  int tofd, fromfd;
   char buf[8192];
 
   tdata->curfle = tdata->files;
@@ -1398,7 +1398,6 @@
           memset (&updatetime, 0, sizeof (updatetime));
           gftpui_start_current_file_in_transfer (tdata);
 
-          i = 0;
           while (!tdata->cancel &&
                  (num_read = gftp_get_next_file_chunk (tdata->fromreq,
                                                        buf, sizeof (buf))) > 0)