From dc6e29618cc225789efc3836cdb1956ec545f3eb Mon Sep 17 00:00:00 2001 From: Mike Evans Date: Thu, 22 Mar 2012 09:11:47 +0000 Subject: [PATCH] Some systems fail to compile with: dialog-customer-import.c:399:36: error: 'shipaddr' may be used uninitialized in this function [-Werror=uninitialized] git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22110 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/plugins/customer_import/dialog-customer-import.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/customer_import/dialog-customer-import.c b/src/plugins/customer_import/dialog-customer-import.c index b8ba36e23a..91022fe8fa 100644 --- a/src/plugins/customer_import/dialog-customer-import.c +++ b/src/plugins/customer_import/dialog-customer-import.c @@ -294,6 +294,8 @@ gnc_customer_import_create_customers (GtkListStore *store, QofBook *book, guint 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);