From fe6d35d6bfde35389884648bf6d1b64181b3ced4 Mon Sep 17 00:00:00 2001 From: Mike Alexander Date: Tue, 6 Apr 2010 02:17:21 +0000 Subject: [PATCH] Initialize new_val in environment_override to avoid a compiler warning. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18998 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/bin/gnucash-bin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/gnucash-bin.c b/src/bin/gnucash-bin.c index fbe97e27a9..414f9ec61f 100644 --- a/src/bin/gnucash-bin.c +++ b/src/bin/gnucash-bin.c @@ -208,7 +208,7 @@ environment_override() 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",