init the GError to NULL
Dana Jansens danakj@orodu.net
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
openbox/action.c
→
openbox/action.c
@@ -30,7 +30,7 @@ }
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);