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 /sway | |
parent | 7c06ef35defba67180f45d5108768b18c701423f (diff) |
Initialize id, part two
Diffstat (limited to 'sway')
-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) { return bar_set_mode(config->current_bar, mode); } - const char *id; + const char *id = NULL; if (argc == 2) { id = argv[1]; } |