mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 16:06:37 +01:00
Initialize ID
This commit is contained in:
parent
91c102a897
commit
7c06ef35de
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue