From b23b804311e0a7566fd5d2df39d19b44922c4931 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Thu, 4 Dec 2014 08:54:02 +0100 Subject: Reset error variable --- bin/gui/control.c | 1 + 1 file changed, 1 insertion(+) (limited to 'bin') diff --git a/bin/gui/control.c b/bin/gui/control.c index 16fb342..95f7525 100644 --- a/bin/gui/control.c +++ b/bin/gui/control.c @@ -1365,6 +1365,7 @@ main (int argc, char *argv[]) if (!gtk_builder_add_from_file (builder, CONTROL_GLADE_PATH, &error)) { g_warning ("Cannot load UI: `%s'. Trying in current working directory.", error->message); g_error_free (error); + error = NULL; } if (!gtk_builder_add_from_file (builder, "control.glade", &error)) { -- cgit v1.2.3