From feb917d5e167e3e797e1831c510826562561823d Mon Sep 17 00:00:00 2001 From: Nick Treleaven Date: Fri, 14 Oct 2011 13:28:14 +0100 Subject: [PATCH] Fix uninitalized 'name' access. --- src/ui_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui_utils.c b/src/ui_utils.c index ce558240..e66e256c 100644 --- a/src/ui_utils.c +++ b/src/ui_utils.c @@ -2098,7 +2098,7 @@ void ui_init_prefs(void) * will have a "gtk-builder-name" stored in the GObject's data list. */ static const gchar *ui_guess_object_name(GObject *obj) { - const gchar *name; + const gchar *name = NULL; g_return_val_if_fail(G_IS_OBJECT(obj), NULL);