From ccc9ad969b61758184e1b9129ce257cdd7c7ab4e Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 12 May 2014 23:46:31 +0100 Subject: [PATCH] fix gtk options loading --- gtk/gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gui.c b/gtk/gui.c index 8e12b7bfd..cde07bb7b 100644 --- a/gtk/gui.c +++ b/gtk/gui.c @@ -1108,7 +1108,7 @@ static nserror create_config_home(char **config_home_out) static nserror nsgtk_option_init(int *pargc, char** argv) { nserror ret; - char *choices; + char *choices = NULL; /* user options setup */ ret = nsoption_init(set_defaults, &nsoptions, &nsoptions_default);