summaryrefslogtreecommitdiff
path: root/apps/openssl.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2017-08-22 10:36:26 +1000
committerPauli <paul.dale@oracle.com>2017-08-22 10:46:19 +1000
commit9c481c2fdcbea3015f17fc5d5be8ed4a31811504 (patch)
tree6d62a03b3c954b2571fcec1873fb94779c4c8e35 /apps/openssl.c
parenta1df06b36347a31c17d09e6ca3e1464bdf7eb4d5 (diff)
downloadopenssl-new-9c481c2fdcbea3015f17fc5d5be8ed4a31811504.tar.gz
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 <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4213)
Diffstat (limited to 'apps/openssl.c')
-rw-r--r--apps/openssl.c9
1 files changed, 0 insertions, 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;