summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openbox/action.c2
1 files changed, 1 insertions, 1 deletions
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);