Remove unused unload_all function

This commit is contained in:
ridiculousfish 2015-07-27 23:36:54 -07:00
parent 6e3231a9d7
commit aee71b594b
2 changed files with 0 additions and 11 deletions

View file

@ -140,12 +140,6 @@ static bool script_name_precedes_script_name(const builtin_script_t &script1, co
return wcscmp(script1.name, script2.name) < 0;
}
void autoload_t::unload_all(void)
{
scoped_lock locker(lock);
this->evict_all_nodes();
}
/** Check whether the given command is loaded. */
bool autoload_t::has_tried_loading(const wcstring &cmd)
{

View file

@ -123,11 +123,6 @@ public:
*/
int unload(const wcstring &cmd);
/**
Unloads all files.
*/
void unload_all();
/** Check whether the given command could be loaded, but do not load it. */
bool can_load(const wcstring &cmd, const env_vars_snapshot_t &vars);