[Gnucash-changes] r12087 - gnucash/trunk/src/register/ledger-core -
g_return[_val]_if_fail is actually an assertion,
which is too strong for this flow-control.
Joshua Sled
jsled at cvs.gnucash.org
Sat Dec 3 15:45:24 EST 2005
Author: jsled
Date: 2005-12-03 15:45:23 -0500 (Sat, 03 Dec 2005)
New Revision: 12087
Trac: http://svn.gnucash.org/trac/changeset/12087
Modified:
gnucash/trunk/src/register/ledger-core/split-register-control.c
Log:
g_return[_val]_if_fail is actually an assertion, which is too strong for this flow-control.
Modified: gnucash/trunk/src/register/ledger-core/split-register-control.c
===================================================================
--- gnucash/trunk/src/register/ledger-core/split-register-control.c 2005-12-03 19:41:53 UTC (rev 12086)
+++ gnucash/trunk/src/register/ledger-core/split-register-control.c 2005-12-03 20:45:23 UTC (rev 12087)
@@ -623,7 +623,8 @@
BasicCell *cell;
Split *split;
- g_return_val_if_fail(reg->do_auto_complete, FALSE);
+ if (!reg->do_auto_complete)
+ return FALSE;
blank_split = xaccSplitLookup (&info->blank_split_guid,
gnc_get_current_book ());
More information about the gnucash-changes
mailing list