[Gnucash-changes] r14239 -
gnucash/branches/register-rewrite/src/gnome - Remove unused
variable.
Chris Shoemaker
chris at cvs.gnucash.org
Mon May 29 15:53:38 EDT 2006
Author: chris
Date: 2006-05-29 15:53:37 -0400 (Mon, 29 May 2006)
New Revision: 14239
Trac: http://svn.gnucash.org/trac/changeset/14239
Modified:
gnucash/branches/register-rewrite/src/gnome/gnc-plugin-page-register.c
Log:
Remove unused variable.
Modified: gnucash/branches/register-rewrite/src/gnome/gnc-plugin-page-register.c
===================================================================
--- gnucash/branches/register-rewrite/src/gnome/gnc-plugin-page-register.c 2006-05-29 19:45:18 UTC (rev 14238)
+++ gnucash/branches/register-rewrite/src/gnome/gnc-plugin-page-register.c 2006-05-29 19:53:37 UTC (rev 14239)
@@ -435,7 +435,6 @@
GncPluginPageRegisterPrivate *priv;
GncPluginPage *plugin_page;
GNCSplitReg *gsr;
- SplitRegister *reg;
const GList *item;
GList *book_list;
gchar *label;
@@ -469,8 +468,6 @@
gnc_plugin_page_add_book (plugin_page, (QofBook *)item->data);
// Do not free the list. It is owned by the query.
- reg = gnc_ledger_display_get_split_register(priv->ledger);
-
priv->component_manager_id = 0;
return plugin_page;
}
@@ -992,7 +989,7 @@
/* Create the new page. */
reg_type = g_key_file_get_string(key_file, group_name,
- KEY_REGISTER_TYPE, &error);
+ KEY_REGISTER_TYPE, &error);
DEBUG("Page type: %s", reg_type);
if ((g_ascii_strcasecmp(reg_type, LABEL_ACCOUNT) == 0) ||
(g_ascii_strcasecmp(reg_type, LABEL_SUBACCOUNT) == 0)) {
More information about the gnucash-changes
mailing list