Initialize id, part two

This commit is contained in:
Drew DeVault 2015-12-22 08:21:13 -05:00
parent 7c06ef35de
commit 8a22ac3966
1 changed files with 1 additions and 1 deletions

View File

@ -1809,7 +1809,7 @@ static struct cmd_results *bar_cmd_mode(int argc, char **argv) {
return bar_set_mode(config->current_bar, mode); return bar_set_mode(config->current_bar, mode);
} }
const char *id; const char *id = NULL;
if (argc == 2) { if (argc == 2) {
id = argv[1]; id = argv[1];
} }