r17586 - gnucash/branches/2.2/src/register/ledger-core - Fix compiler warning about potentially uninitialized variable.
Christian Stimming
cstim at cvs.gnucash.org
Sun Sep 21 15:27:29 EDT 2008
Author: cstim
Date: 2008-09-21 15:27:29 -0400 (Sun, 21 Sep 2008)
New Revision: 17586
Trac: http://svn.gnucash.org/trac/changeset/17586
Modified:
gnucash/branches/2.2/src/register/ledger-core/split-register.c
Log:
Fix compiler warning about potentially uninitialized variable.
Modified: gnucash/branches/2.2/src/register/ledger-core/split-register.c
===================================================================
--- gnucash/branches/2.2/src/register/ledger-core/split-register.c 2008-09-21 15:18:50 UTC (rev 17585)
+++ gnucash/branches/2.2/src/register/ledger-core/split-register.c 2008-09-21 19:27:29 UTC (rev 17586)
@@ -2368,7 +2368,7 @@
{
SRInfo *info = gnc_split_register_get_info (reg);
Transaction *pending_trans;
- Transaction *trans;
+ Transaction *trans = NULL;
Split *blank_split;
blank_split = xaccSplitLookup (&info->blank_split_guid,
More information about the gnucash-changes
mailing list