r15667 - gnucash/trunk/src - Remove some unused variables and function declarations.

David Hampton hampton at cvs.gnucash.org
Mon Feb 26 00:40:48 EST 2007


Author: hampton
Date: 2007-02-26 00:40:46 -0500 (Mon, 26 Feb 2007)
New Revision: 15667
Trac: http://svn.gnucash.org/trac/changeset/15667

Modified:
   gnucash/trunk/src/gnome-utils/gnc-frequency.c
   gnucash/trunk/src/gnome/dialog-sx-since-last-run.c
   gnucash/trunk/src/gnome/gnc-plugin-page-sx-list.c
Log:
Remove some unused variables and function declarations.

Modified: gnucash/trunk/src/gnome/dialog-sx-since-last-run.c
===================================================================
--- gnucash/trunk/src/gnome/dialog-sx-since-last-run.c	2007-02-25 22:32:51 UTC (rev 15666)
+++ gnucash/trunk/src/gnome/dialog-sx-since-last-run.c	2007-02-26 05:40:46 UTC (rev 15667)
@@ -1033,7 +1033,6 @@
 static void
 dialog_response_cb(GtkDialog *dialog, gint response_id, GncSxSinceLastRunDialog *app_dialog)
 {
-    GList *created_txns = NULL;
     switch (response_id)
     {
     case GTK_RESPONSE_OK:

Modified: gnucash/trunk/src/gnome/gnc-plugin-page-sx-list.c
===================================================================
--- gnucash/trunk/src/gnome/gnc-plugin-page-sx-list.c	2007-02-25 22:32:51 UTC (rev 15666)
+++ gnucash/trunk/src/gnome/gnc-plugin-page-sx-list.c	2007-02-26 05:40:46 UTC (rev 15667)
@@ -442,7 +442,6 @@
 static void
 gnc_plugin_page_sx_list_cmd_new(GtkAction *action, GncPluginPageSxList *page)
 {
-    FreqSpec *fs;
     SchedXaction *new_sx;
     gboolean new_sx_flag = TRUE;
 

Modified: gnucash/trunk/src/gnome-utils/gnc-frequency.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-frequency.c	2007-02-25 22:32:51 UTC (rev 15666)
+++ gnucash/trunk/src/gnome-utils/gnc-frequency.c	2007-02-26 05:40:46 UTC (rev 15667)
@@ -64,20 +64,7 @@
 
 static void monthly_sel_changed( GtkButton *b, gpointer d );
 static void semimonthly_sel_changed( GtkButton *b, gpointer d );
-static void yearly_sel_changed( GtkButton *b, gpointer d );
-static void quarterly_sel_changed( GtkButton *b, gpointer d );
-static void triyearly_sel_changed( GtkButton *b, gpointer d );
-static void semiyearly_sel_changed( GtkButton *b, gpointer d );
 
-static void year_range_sels_changed( GncFrequency *gf,
-                                     int monthsInRange,
-                                     GtkWidget *occurW,
-                                     GtkWidget *dayOfMonthW );
-static void year_range_menu_helper( GtkWidget *dayOptMenu,
-                                    GtkWidget *occurOptMenu,
-                                    gint monthsInRange,
-                                    time_t date );
-
 /** Static Inits ********************/
 
 enum
@@ -245,7 +232,6 @@
 do_frequency_setup(GncFrequency *gf, FreqSpec *fs, time_t *secs)
 {
         UIFreqType uift;
-        int i, page;
 
         /* Set the start date, but only if present. */
         if (secs)
@@ -892,8 +878,6 @@
          case PERIOD_LAST_WEEKDAY: {
              guint multiplier;
              GtkWidget *multipler_spin, *day_of_month;
-             GDate recurrence_day;
-             int day_of_month_index;
              
              multipler_spin = glade_xml_get_widget(gf->gxml, "monthly_spin");
              multiplier = recurrenceGetMultiplier(r);



More information about the gnucash-changes mailing list