r22110 - gnucash/trunk/src/plugins/customer_import - Some systems fail to compile with:
Mike Evans
mikee at code.gnucash.org
Thu Mar 22 05:11:47 EDT 2012
Author: mikee
Date: 2012-03-22 05:11:47 -0400 (Thu, 22 Mar 2012)
New Revision: 22110
Trac: http://svn.gnucash.org/trac/changeset/22110
Modified:
gnucash/trunk/src/plugins/customer_import/dialog-customer-import.c
Log:
Some systems fail to compile with:
dialog-customer-import.c:399:36: error: 'shipaddr' may be used uninitialized in this function [-Werror=uninitialized]
Modified: gnucash/trunk/src/plugins/customer_import/dialog-customer-import.c
===================================================================
--- gnucash/trunk/src/plugins/customer_import/dialog-customer-import.c 2012-03-21 22:18:53 UTC (rev 22109)
+++ gnucash/trunk/src/plugins/customer_import/dialog-customer-import.c 2012-03-22 09:11:47 UTC (rev 22110)
@@ -294,6 +294,8 @@
GncVendor *vendor;
customer = NULL;
vendor = NULL;
+ addr = NULL;
+ shipaddr = NULL;
// these arguments are needed
g_return_if_fail (store && book);
printf("\nTYPE = %s\n", type);
More information about the gnucash-changes
mailing list