commit 8a22ac3966047353daffe88dd4b8c2910ef519f5
parent 7c06ef35defba67180f45d5108768b18c701423f
Author: Drew DeVault <sir@cmpwn.com>
Date: Tue, 22 Dec 2015 08:21:13 -0500
Initialize id, part two
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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];
}