r23746 - gnucash/trunk/src/register/ledger-core - Fix unitialized variable error in r23740.
Mike Alexander
mta at code.gnucash.org
Wed Jan 22 18:36:48 EST 2014
Author: mta
Date: 2014-01-22 18:36:48 -0500 (Wed, 22 Jan 2014)
New Revision: 23746
Trac: http://svn.gnucash.org/trac/changeset/23746
Modified:
gnucash/trunk/src/register/ledger-core/split-register.c
Log:
Fix unitialized variable error in r23740.
Thanks to Herbert Thoma for the patch.
Modified: gnucash/trunk/src/register/ledger-core/split-register.c
===================================================================
--- gnucash/trunk/src/register/ledger-core/split-register.c 2014-01-22 20:23:13 UTC (rev 23745)
+++ gnucash/trunk/src/register/ledger-core/split-register.c 2014-01-22 23:36:48 UTC (rev 23746)
@@ -2076,7 +2076,7 @@
static gboolean
gnc_split_register_auto_calc (SplitRegister *reg, Split *split)
{
- PriceCell *cell;
+ PriceCell *cell = NULL;
gboolean recalc_shares = FALSE;
gboolean recalc_price = FALSE;
gboolean recalc_value = FALSE;
More information about the gnucash-changes
mailing list