mirror of
https://github.com/NickHu/sway
synced 2024-11-16 19:49:56 +01:00
Initialize id, part two
This commit is contained in:
parent
7c06ef35de
commit
8a22ac3966
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue