From 86e011e98b75413c6fafc47d8bf538f188ec0ee3 Mon Sep 17 00:00:00 2001 From: Christian Stimming Date: Tue, 5 Dec 2006 21:19:48 +0000 Subject: [PATCH] Remove unused variables and dead code. Patch provided by Jerry Quinn. Fixes #347084. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15184 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/gnome/dialog-sxsincelast.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/gnome/dialog-sxsincelast.c b/src/gnome/dialog-sxsincelast.c index 175b38a0b0..05adbd33ee 100644 --- a/src/gnome/dialog-sxsincelast.c +++ b/src/gnome/dialog-sxsincelast.c @@ -1790,15 +1790,7 @@ process_auto_create_list(GList *autoCreateList, sxSinceLastData *sxsld, GList ** 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 ) {