mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix a couple of initialized variable warnings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18520 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
10cead26b1
commit
128c5dd195
@ -490,7 +490,7 @@ gnc_dbi_postgres_session_begin( QofBackend *qbe, QofSession *session,
|
||||
gchar* dbname;
|
||||
gchar* username;
|
||||
gchar* password;
|
||||
gboolean success;
|
||||
gboolean success = FALSE;
|
||||
gint portnum;
|
||||
|
||||
g_return_if_fail( qbe != NULL );
|
||||
|
@ -223,7 +223,7 @@ gnc_ui_file_access( int type )
|
||||
gint access_method_index = -1;
|
||||
gint active_access_method_index = -1;
|
||||
const gchar* default_db;
|
||||
const gchar *button_label;
|
||||
const gchar *button_label = NULL;
|
||||
|
||||
g_return_if_fail( type == FILE_ACCESS_OPEN || type == FILE_ACCESS_SAVE_AS );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user