remove unused wcstring

This commit is contained in:
Aaron Gyes 2019-04-04 14:24:36 -07:00
parent b064eaa571
commit b4ddd797e3

View file

@ -1124,7 +1124,6 @@ bool completer_t::complete_variable(const wcstring &str, size_t start_offset) {
size_t varlen = str.length() - start_offset;
bool res = false;
const wcstring_list_t names = vars.get_names(0);
for (const wcstring &env_name : vars.get_names(0)) {
string_fuzzy_match_t match =
string_fuzzy_match_string(var, env_name, this->max_fuzzy_match_type());