aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
Diffstat (limited to 'sway')
-rw-r--r--sway/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c
index b9eb82ed..0955db38 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -1809,7 +1809,7 @@ static struct cmd_results *bar_cmd_mode(int argc, char **argv) {
return bar_set_mode(config->current_bar, mode);
}
- const char *id;
+ const char *id = NULL;
if (argc == 2) {
id = argv[1];
}