commit 7c06ef35defba67180f45d5108768b18c701423f
parent 91c102a897467ff1bae345458ccf096e32e7bd15
Author: Drew DeVault <sir@cmpwn.com>
Date: Tue, 22 Dec 2015 08:14:50 -0500
Initialize ID
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sway/commands.c b/sway/commands.c
@@ -1738,7 +1738,7 @@ static struct cmd_results *bar_cmd_hidden_state(int argc, char **argv) {
return bar_set_hidden_state(config->current_bar, state);
}
- const char *id;
+ const char *id = NULL;
if (argc == 2) {
id = argv[1];
}