mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 07:56:31 +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