# HG changeset patch # User leo_sobral # Date 1175007717 -3600 # Node ID e7e73f8e7e4bbcc1085ace673aa5a30fa0170d71 # Parent 4a65804a0a5f72049985c2b353651b313b270d98 [svn r463] removed unused variable max_tries diff -r 4a65804a0a5f -r e7e73f8e7e4b gmyth/src/gmyth_file_transfer.c --- a/gmyth/src/gmyth_file_transfer.c Tue Mar 27 16:01:23 2007 +0100 +++ b/gmyth/src/gmyth_file_transfer.c Tue Mar 27 16:01:57 2007 +0100 @@ -652,7 +652,8 @@ GIOCondition io_cond; GIOCondition io_cond_control; - GIOStatus io_status = G_IO_STATUS_NORMAL, io_status_control = G_IO_STATUS_NORMAL; + GIOStatus io_status = G_IO_STATUS_NORMAL; + GIOStatus io_status_control = G_IO_STATUS_NORMAL; gboolean ret = TRUE; @@ -756,7 +757,7 @@ } /* while - iterates through bytes until reaches the end of stream */ - if (read_unlimited && (bytes_sent == 0) && (max_tries == 0) ) { + if (read_unlimited && (bytes_sent == 0)) { gmyth_debug( "Trying to move to the next program chain..." ); transfer->priv = GMYTH_FILE_TRANSFER_GET_PRIVATE(transfer);