[Gnucash-changes] r11968 - gnucash/trunk/src/gnome - Avoid use of
uninitialized variable when opening a budget and only one
budget exists.
Chris Shoemaker
chris at cvs.gnucash.org
Thu Nov 17 10:19:15 EST 2005
Author: chris
Date: 2005-11-17 10:19:14 -0500 (Thu, 17 Nov 2005)
New Revision: 11968
Trac: http://svn.gnucash.org/trac/changeset/11968
Modified:
gnucash/trunk/src/gnome/gnc-plugin-budget.c
Log:
Avoid use of uninitialized variable when opening a budget and only one budget exists.
Modified: gnucash/trunk/src/gnome/gnc-plugin-budget.c
===================================================================
--- gnucash/trunk/src/gnome/gnc-plugin-budget.c 2005-11-17 05:58:30 UTC (rev 11967)
+++ gnucash/trunk/src/gnome/gnc-plugin-budget.c 2005-11-17 15:19:14 UTC (rev 11968)
@@ -184,7 +184,7 @@
{
guint count;
QofBook *book;
- GncBudget *bgt;
+ GncBudget *bgt = NULL;
QofCollection *col;
g_return_if_fail (data != NULL);
More information about the gnucash-changes
mailing list