gnucash maint: Fix travis build

Geert Janssens gjanssens at code.gnucash.org
Sat May 21 09:55:06 EDT 2016


Updated	 via  https://github.com/Gnucash/gnucash/commit/a2ded744 (commit)
	from  https://github.com/Gnucash/gnucash/commit/efbe26bc (commit)



commit a2ded744b3c0d8e05d4cc4f57a813a4be277d498
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Sat May 21 15:54:55 2016 +0200

    Fix travis build

diff --git a/src/business/business-ledger/gncEntryLedgerControl.c b/src/business/business-ledger/gncEntryLedgerControl.c
index 96110a5..7233fed 100644
--- a/src/business/business-ledger/gncEntryLedgerControl.c
+++ b/src/business/business-ledger/gncEntryLedgerControl.c
@@ -581,8 +581,8 @@ gnc_entry_ledger_auto_completion (GncEntryLedger *ledger,
 
     /* Taxable?, Tax-include?, Tax table */
     {
-        gboolean taxable, taxincluded;
-        GncTaxTable *taxtable;
+        gboolean taxable = FALSE, taxincluded = FALSE;
+        GncTaxTable *taxtable = NULL;
         switch (ledger->type)
         {
         case GNCENTRY_INVOICE_ENTRY:



Summary of changes:
 src/business/business-ledger/gncEntryLedgerControl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)



More information about the gnucash-changes mailing list