summaryrefslogtreecommitdiff
path: root/sway/debug-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/debug-tree.c')
-rw-r--r--sway/debug-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/debug-tree.c b/sway/debug-tree.c
index 00501d9c..07c48a25 100644
--- a/sway/debug-tree.c
+++ b/sway/debug-tree.c
@@ -91,7 +91,7 @@ void update_debug_tree() {
break;
}
- struct sway_container *focus;
+ struct sway_container *focus = NULL;
if (seat != NULL) {
focus = seat_get_focus(seat);
}