fixes identical code in both if branches introduced in e52a04e34

This commit is contained in:
Andrei Dziahel 2017-04-26 11:30:32 +03:00 committed by Kurtis Rader
parent 980af4aa5b
commit a26419557f

View file

@ -253,7 +253,7 @@ bool autoload_t::locate_file_and_maybe_load_it(const wcstring &cmd, bool really_
if (really_load) {
this->insert(cmd, autoload_function_t(true));
} else {
this->insert(cmd, autoload_function_t(true));
this->insert_no_eviction(cmd, autoload_function_t(true));
}
func = this->get(cmd);
assert(func);