Forgot to init restack sibling to NULL
[mikachu/openbox.git] / 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);