From: Dana Jansens Date: Thu, 20 Mar 2003 01:55:25 +0000 (+0000) Subject: init the GError to NULL X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=26f66bc932be6313e1fb71d73e60ba5667276ac0;hp=396d559b3fe6545a2190bfbababcf49c02ff7127;p=chaz%2Fopenbox init the GError to NULL --- 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);