r18998 - gnucash/trunk/src/bin - Initialize new_val in environment_override to avoid a compiler warning.
Mike Alexander
mta at code.gnucash.org
Mon Apr 5 22:17:22 EDT 2010
Author: mta
Date: 2010-04-05 22:17:21 -0400 (Mon, 05 Apr 2010)
New Revision: 18998
Trac: http://svn.gnucash.org/trac/changeset/18998
Modified:
gnucash/trunk/src/bin/gnucash-bin.c
Log:
Initialize new_val in environment_override to avoid a compiler warning.
Modified: gnucash/trunk/src/bin/gnucash-bin.c
===================================================================
--- gnucash/trunk/src/bin/gnucash-bin.c 2010-04-05 18:09:51 UTC (rev 18997)
+++ gnucash/trunk/src/bin/gnucash-bin.c 2010-04-06 02:17:21 UTC (rev 18998)
@@ -208,7 +208,7 @@
gchar **val_list;
gsize val_count;
gint j;
- gchar *new_val, *tmp_val;
+ gchar *new_val = NULL, *tmp_val;
/* For each variable, read its new value, optionally expand it and (un)set it */
val_list = g_key_file_get_string_list (keyfile, "Variables",
More information about the gnucash-changes
mailing list