summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-03-20 01:55:25 +0000
committerDana Jansens <danakj@orodu.net>2003-03-20 01:55:25 +0000
commit26f66bc932be6313e1fb71d73e60ba5667276ac0 (patch)
treefa3cdd955633a5d58ba4f5cc9431d1ce7af4a6e6
parent396d559b3fe6545a2190bfbababcf49c02ff7127 (diff)
init the GError to NULL
-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);