aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sway/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c
index b1b1c5b6..b9eb82ed 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -1738,7 +1738,7 @@ static struct cmd_results *bar_cmd_hidden_state(int argc, char **argv) {
return bar_set_hidden_state(config->current_bar, state);
}
- const char *id;
+ const char *id = NULL;
if (argc == 2) {
id = argv[1];
}