mirror of
https://github.com/swaywm/sway.git
synced 2024-11-16 13:13:17 +00:00
Initialize ID
This commit is contained in:
parent
91c102a897
commit
7c06ef35de
|
@ -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