r17569 - gnucash/branches/2.2/src/import-export/aqbanking - [r17566] Add a variable initialization to bal_accountinfo_cb().
Andreas Köhler
andi5 at cvs.gnucash.org
Fri Sep 19 12:31:15 EDT 2008
Author: andi5
Date: 2008-09-19 12:31:15 -0400 (Fri, 19 Sep 2008)
New Revision: 17569
Trac: http://svn.gnucash.org/trac/changeset/17569
Modified:
gnucash/branches/2.2/src/import-export/aqbanking/gnc-ab-utils.c
Log:
[r17566] Add a variable initialization to bal_accountinfo_cb().
That initialization is not strictly necessary, because best_time is used only if
best is non-NULL and but both variables are set in the same block.
Modified: gnucash/branches/2.2/src/import-export/aqbanking/gnc-ab-utils.c
===================================================================
--- gnucash/branches/2.2/src/import-export/aqbanking/gnc-ab-utils.c 2008-09-19 16:31:05 UTC (rev 17568)
+++ gnucash/branches/2.2/src/import-export/aqbanking/gnc-ab-utils.c 2008-09-19 16:31:15 UTC (rev 17569)
@@ -572,7 +572,7 @@
GncABImExContextImport *data = user_data;
Account *gnc_acc;
AB_ACCOUNT_STATUS *item, *best = NULL;
- const GWEN_TIME *best_time;
+ const GWEN_TIME *best_time = NULL;
const AB_BALANCE *booked_bal, *noted_bal;
const AB_VALUE *booked_val = NULL, *noted_val = NULL;
gdouble booked_value, noted_value;
More information about the gnucash-changes
mailing list