From f0cb946f0c6b9d1d5f6af267a74a10128245ab97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20K=C3=B6hler?= Date: Fri, 19 Sep 2008 16:09:23 +0000 Subject: [PATCH] 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. BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17566 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/import-export/aqbanking/gnc-ab-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/import-export/aqbanking/gnc-ab-utils.c b/src/import-export/aqbanking/gnc-ab-utils.c index 5334f05de8..0133c8adc1 100644 --- a/src/import-export/aqbanking/gnc-ab-utils.c +++ b/src/import-export/aqbanking/gnc-ab-utils.c @@ -572,7 +572,7 @@ bal_accountinfo_cb(AB_IMEXPORTER_ACCOUNTINFO *element, gpointer user_data) 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;