r15184 - gnucash/trunk/src/gnome - Remove unused variables and dead code. Patch provided by Jerry Quinn. Fixes #347084.

Christian Stimming cstim at cvs.gnucash.org
Tue Dec 5 16:19:49 EST 2006


Author: cstim
Date: 2006-12-05 16:19:48 -0500 (Tue, 05 Dec 2006)
New Revision: 15184
Trac: http://svn.gnucash.org/trac/changeset/15184

Modified:
   gnucash/trunk/src/gnome/dialog-sxsincelast.c
Log:
Remove unused variables and dead code. Patch provided by Jerry Quinn. Fixes #347084.

Modified: gnucash/trunk/src/gnome/dialog-sxsincelast.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-sxsincelast.c	2006-12-05 21:15:45 UTC (rev 15183)
+++ gnucash/trunk/src/gnome/dialog-sxsincelast.c	2006-12-05 21:19:48 UTC (rev 15184)
@@ -1790,15 +1790,7 @@
         toCreateTuple *tct;
         toCreateInstance *tci;
         GList *instances;
-        int count, total;
 
-        count = 0;
-        total = 0;
-        /* get an accurate count of how many SX instances we're going to
-         * create. */
-        for ( l = autoCreateList; l; l = l->next ) {
-                total += g_list_length( ((toCreateTuple*)l->data)->instanceList );
-        }
         gnc_suspend_gui_refresh();
 
         for ( ; autoCreateList ; autoCreateList = autoCreateList->next ) {



More information about the gnucash-changes mailing list