init the GError to NULL

This commit is contained in:
Dana Jansens 2003-03-20 01:55:25 +00:00
parent 396d559b3f
commit 26f66bc932

View file

@ -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);