From 26f66bc932be6313e1fb71d73e60ba5667276ac0 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 20 Mar 2003 01:55:25 +0000 Subject: [PATCH] init the GError to NULL --- openbox/action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbox/action.c b/openbox/action.c index f3ee6be5..b05e3450 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -30,7 +30,7 @@ void action_free(Action *a) void action_execute(union ActionData *data) { - GError *e; + GError *e = NULL; if (!g_spawn_command_line_async(data->execute.path, &e)) { g_warning("failed to execute '%s': %s", data->execute.path, e->message); -- 2.45.2