mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug #557848: Fix uninitialized variable.
gcc gives a correct warning about a possibly uninitialised variable. This stops compilation. Patch by joslwah@gmail.com. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17651 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
8c72f4c01b
commit
e8feb39e8d
@ -138,7 +138,7 @@ save_price( GncSqlBackend* be, QofInstance* inst )
|
||||
GNCPrice* pPrice = GNC_PRICE(inst);
|
||||
gint op;
|
||||
gboolean is_infant;
|
||||
gboolean is_ok;
|
||||
gboolean is_ok = TRUE;
|
||||
|
||||
g_return_val_if_fail( be != NULL, FALSE );
|
||||
g_return_val_if_fail( inst != NULL, FALSE );
|
||||
|
Loading…
Reference in New Issue
Block a user