]> Dogcows Code - chaz/openbox/commitdiff
init the GError to NULL
authorDana Jansens <danakj@orodu.net>
Thu, 20 Mar 2003 01:55:25 +0000 (01:55 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 20 Mar 2003 01:55:25 +0000 (01:55 +0000)
openbox/action.c

index f3ee6be5643243aa119a2bb278bace1c788faf7a..b05e34504ec82af9914cb94c59537cb30f5e8deb 100644 (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);
This page took 0.023667 seconds and 4 git commands to generate.