Initialize GError to NULL or it doesn't work.

This commit is contained in:
John Ralls 2015-07-10 12:43:25 -07:00
parent 7d940a5d91
commit b741c8e1de

View File

@ -102,7 +102,7 @@ gnc_environment_setup (void)
gchar *config_path; gchar *config_path;
gchar *env_file; gchar *env_file;
GKeyFile *keyfile = g_key_file_new(); GKeyFile *keyfile = g_key_file_new();
GError *error; GError *error = NULL;
gchar **env_vars; gchar **env_vars;
gsize param_count; gsize param_count;
gint i; gint i;