From 8a22ac3966047353daffe88dd4b8c2910ef519f5 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Tue, 22 Dec 2015 08:21:13 -0500 Subject: [PATCH] Initialize id, part two --- sway/commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/commands.c b/sway/commands.c index b9eb82ed5..0955db385 100644 --- a/sway/commands.c +++ b/sway/commands.c @@ -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]; }