mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Remove env_node_t::contains_any_of
Dead code...
This commit is contained in:
parent
f086064d72
commit
f7817a2586
1 changed files with 0 additions and 8 deletions
|
@ -90,14 +90,6 @@ class env_node_t {
|
|||
if (it != env.end()) return it->second;
|
||||
return none();
|
||||
}
|
||||
|
||||
/// Return whether this node contains any of the entries in the vars list.
|
||||
bool contains_any_of(const wcstring_list_t &vars) const {
|
||||
for (const auto &v : vars) {
|
||||
if (env.count(v)) return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
using env_node_ref_t = std::shared_ptr<env_node_t>;
|
||||
|
|
Loading…
Reference in a new issue