mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 05:28:49 +00:00
fixes identical code in both if branches introduced in e52a04e34
This commit is contained in:
parent
980af4aa5b
commit
a26419557f
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ bool autoload_t::locate_file_and_maybe_load_it(const wcstring &cmd, bool really_
|
||||||
if (really_load) {
|
if (really_load) {
|
||||||
this->insert(cmd, autoload_function_t(true));
|
this->insert(cmd, autoload_function_t(true));
|
||||||
} else {
|
} else {
|
||||||
this->insert(cmd, autoload_function_t(true));
|
this->insert_no_eviction(cmd, autoload_function_t(true));
|
||||||
}
|
}
|
||||||
func = this->get(cmd);
|
func = this->get(cmd);
|
||||||
assert(func);
|
assert(func);
|
||||||
|
|
Loading…
Reference in a new issue