fixup! set_color: Don't error with "-b" and no argument

This commit is contained in:
Mahmoud Al-Qudsi 2020-06-26 19:46:23 -05:00
parent 5da3a95451
commit 0414be75cc

View File

@ -87,7 +87,6 @@ int builtin_set_color(parser_t &parser, io_streams_t &streams, wchar_t **argv) {
#endif
// Variables used for parsing the argument list.
wchar_t *cmd = argv[0];
int argc = builtin_count_args(argv);
// Some code passes variables to set_color that don't exist, like $fish_user_whatever. As a