Fix uninitalized 'name' access.

This commit is contained in:
Nick Treleaven 2011-10-14 13:28:14 +01:00
parent 4c633741c8
commit feb917d5e1

View File

@ -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);