r22928 - gnucash/trunk/src/app-utils - Fix compiler warning

Geert Janssens gjanssens at code.gnucash.org
Mon Apr 22 15:23:06 EDT 2013


Author: gjanssens
Date: 2013-04-22 15:23:05 -0400 (Mon, 22 Apr 2013)
New Revision: 22928
Trac: http://svn.gnucash.org/trac/changeset/22928

Modified:
   gnucash/trunk/src/app-utils/business-helpers.c
Log:
Fix compiler warning

Modified: gnucash/trunk/src/app-utils/business-helpers.c
===================================================================
--- gnucash/trunk/src/app-utils/business-helpers.c	2013-04-22 18:25:26 UTC (rev 22927)
+++ gnucash/trunk/src/app-utils/business-helpers.c	2013-04-22 19:23:05 UTC (rev 22928)
@@ -29,7 +29,7 @@
 
 GncTaxTable* gnc_business_get_default_tax_table (QofBook *book, GncOwnerType ownertype)
 {
-    GncTaxTable *table;
+    GncTaxTable *table = NULL;
     GNCOptionDB *odb;
 
     odb = gnc_option_db_new_for_type (GNC_ID_BOOK);



More information about the gnucash-changes mailing list