Forgot to init restack sibling to NULL
authorMikael Magnusson <mikachu@gmail.com>
Mon, 6 Oct 2014 15:38:22 +0000 (17:38 +0200)
committerMikael Magnusson <mikachu@gmail.com>
Mon, 6 Oct 2014 15:38:22 +0000 (17:38 +0200)
openbox/stacking.c

index 5fc0703..166d382 100644 (file)
@@ -696,7 +696,7 @@ gboolean stacking_restack_request(ObClient *client, ObWindow *sibling_win,
 {
     gboolean ret = FALSE;
 
-    ObClient *sibling;
+    ObClient *sibling = NULL;
 
     if (sibling_win && WINDOW_IS_CLIENT(sibling_win))
         sibling = WINDOW_AS_CLIENT(sibling_win);