Remove various empty or useless functions

In particular remove init()/destroy() functions that do nothing, or
destroy functions that only free memory.
This commit is contained in:
ridiculousfish
2018-02-10 17:21:55 -08:00
parent 3a45cad12e
commit ba7b8a9584
13 changed files with 3 additions and 49 deletions

View File

@@ -4412,7 +4412,6 @@ int main(int argc, char **argv) {
set_main_thread();
setup_fork_guards();
proc_init();
event_init();
builtin_init();
env_init();
misc_init();
@@ -4478,9 +4477,6 @@ int main(int argc, char **argv) {
say(L"Encountered %d errors in low-level tests", err_count);
if (s_test_run_count == 0) say(L"*** No Tests Were Actually Run! ***");
reader_destroy();
builtin_destroy();
event_destroy();
proc_destroy();
if (err_count != 0) {