mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 20:44:01 +01:00
Initialize id, part two
This commit is contained in:
parent
7c06ef35de
commit
8a22ac3966
@ -1809,7 +1809,7 @@ static struct cmd_results *bar_cmd_mode(int argc, char **argv) {
|
|||||||
return bar_set_mode(config->current_bar, mode);
|
return bar_set_mode(config->current_bar, mode);
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *id;
|
const char *id = NULL;
|
||||||
if (argc == 2) {
|
if (argc == 2) {
|
||||||
id = argv[1];
|
id = argv[1];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user