summaryrefslogtreecommitdiff
path: root/sway/debug-tree.c
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2018-04-06 15:09:52 -0400
committerDrew DeVault <[email protected]>2018-04-06 15:09:52 -0400
commit5ff16994c57375c9b0b842a2f63e7d15984aeadd (patch)
tree58dee268e38eafcb2bacd1a728596a4e14fc0ed0 /sway/debug-tree.c
parentc8be7bfc1e0c65730a5bf713e61105cd38bf9f4f (diff)
Address @emersion feedback
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);
}