aboutsummaryrefslogtreecommitdiffstats
path: root/sway
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2015-12-22 08:21:13 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2015-12-22 08:21:13 -0500
commit8a22ac3966047353daffe88dd4b8c2910ef519f5 (patch)
tree6f6cd62f3306eee318c9946d18fa5eef628c9f63 /sway
parentInitialize ID (diff)
downloadsway-8a22ac3966047353daffe88dd4b8c2910ef519f5.tar.gz
sway-8a22ac3966047353daffe88dd4b8c2910ef519f5.tar.zst
sway-8a22ac3966047353daffe88dd4b8c2910ef519f5.zip
Initialize id, part two
Diffstat (limited to 'sway')
-rw-r--r--sway/commands.c2
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 }