Initialize ID

This commit is contained in:
Drew DeVault 2015-12-22 08:14:50 -05:00
parent 91c102a897
commit 7c06ef35de

View file

@ -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); return bar_set_hidden_state(config->current_bar, state);
} }
const char *id; const char *id = NULL;
if (argc == 2) { if (argc == 2) {
id = argv[1]; id = argv[1];
} }