From 9c481c2fdcbea3015f17fc5d5be8ed4a31811504 Mon Sep 17 00:00:00 2001 From: Pauli Date: Tue, 22 Aug 2017 10:36:26 +1000 Subject: [PATCH] Dead code elimination. Remove the exit_main function which is never used. Remove the exit_options array which is also unreferenced. Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/4213) --- apps/openssl.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/apps/openssl.c b/apps/openssl.c index 8a67328cac..184c401073 100644 --- a/apps/openssl.c +++ b/apps/openssl.c @@ -267,10 +267,6 @@ int main(int argc, char *argv[]) EXIT(ret); } -const OPTIONS exit_options[] = { - {NULL} -}; - static void list_cipher_fn(const EVP_CIPHER *c, const char *from, const char *to, void *arg) { @@ -508,11 +504,6 @@ int help_main(int argc, char **argv) return 0; } -int exit_main(int argc, char **argv) -{ - return EXIT_THE_PROGRAM; -} - static void list_type(FUNC_TYPE ft, int one) { FUNCTION *fp; -- 2.34.1