From aee71b594b11d4bc6b5be9f4c6febb35c41a3096 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Mon, 27 Jul 2015 23:36:54 -0700 Subject: Remove unused unload_all function --- src/autoload.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/autoload.cpp') diff --git a/src/autoload.cpp b/src/autoload.cpp index c883f8bf..e0c16ab8 100644 --- a/src/autoload.cpp +++ b/src/autoload.cpp @@ -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) { -- cgit v1.2.3