From 34933ef9d0046b8095633b3d88ef1dc8817a707d Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sat, 11 Mar 2023 08:06:54 -0700 Subject: [PATCH] Remove unused sudoers_gc_init() function. --- plugins/sudoers/gc.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/plugins/sudoers/gc.c b/plugins/sudoers/gc.c index 73594dffb..eeea7bbf9 100644 --- a/plugins/sudoers/gc.c +++ b/plugins/sudoers/gc.c @@ -152,13 +152,3 @@ sudoers_gc_run(void) debug_return; #endif /* NO_LEAKS */ } - -#ifndef notyet -void -sudoers_gc_init(void) -{ -#ifdef NO_LEAKS - atexit(sudoers_gc_run); -#endif -} -#endif