diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-12-22 08:21:13 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-12-22 08:21:13 -0500 |
commit | 8a22ac3966047353daffe88dd4b8c2910ef519f5 (patch) | |
tree | 6f6cd62f3306eee318c9946d18fa5eef628c9f63 | |
parent | Initialize ID (diff) | |
download | sway-8a22ac3966047353daffe88dd4b8c2910ef519f5.tar.gz sway-8a22ac3966047353daffe88dd4b8c2910ef519f5.tar.zst sway-8a22ac3966047353daffe88dd4b8c2910ef519f5.zip |
Initialize id, part two
-rw-r--r-- | sway/commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c index b9eb82ed..0955db38 100644 --- a/sway/commands.c +++ b/sway/commands.c | |||
@@ -1809,7 +1809,7 @@ static struct cmd_results *bar_cmd_mode(int argc, char **argv) { | |||
1809 | return bar_set_mode(config->current_bar, mode); | 1809 | return bar_set_mode(config->current_bar, mode); |
1810 | } | 1810 | } |
1811 | 1811 | ||
1812 | const char *id; | 1812 | const char *id = NULL; |
1813 | if (argc == 2) { | 1813 | if (argc == 2) { |
1814 | id = argv[1]; | 1814 | id = argv[1]; |
1815 | } | 1815 | } |