From: Pauli Date: Tue, 22 Aug 2017 00:36:26 +0000 (+1000) Subject: Dead code elimination. X-Git-Tag: OpenSSL_1_1_1-pre1~795 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9c481c2fdcbea3015f17fc5d5be8ed4a31811504;p=oweals%2Fopenssl.git 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) --- 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;