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
pull/1/head
Mike Evans 14 years ago
parent 8cc8ffe374
commit dc6e29618c

@ -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);

Loading…
Cancel
Save