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:
Mike Alexander 2009-12-17 07:40:28 +00:00
parent 10cead26b1
commit 128c5dd195
2 changed files with 2 additions and 2 deletions

View File

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

View File

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