mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-22 06:18:56 +08:00
remove unused wcstring
This commit is contained in:
parent
b064eaa571
commit
b4ddd797e3
@ -1124,7 +1124,6 @@ bool completer_t::complete_variable(const wcstring &str, size_t start_offset) {
|
|||||||
size_t varlen = str.length() - start_offset;
|
size_t varlen = str.length() - start_offset;
|
||||||
bool res = false;
|
bool res = false;
|
||||||
|
|
||||||
const wcstring_list_t names = vars.get_names(0);
|
|
||||||
for (const wcstring &env_name : vars.get_names(0)) {
|
for (const wcstring &env_name : vars.get_names(0)) {
|
||||||
string_fuzzy_match_t match =
|
string_fuzzy_match_t match =
|
||||||
string_fuzzy_match_string(var, env_name, this->max_fuzzy_match_type());
|
string_fuzzy_match_string(var, env_name, this->max_fuzzy_match_type());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user