[openssl-commits] [openssl] master update
paul.dale at oracle.com
paul.dale at oracle.com
Tue Aug 22 02:53:26 UTC 2017
The branch master has been updated
via 9c481c2fdcbea3015f17fc5d5be8ed4a31811504 (commit)
from a1df06b36347a31c17d09e6ca3e1464bdf7eb4d5 (commit)
- Log -----------------------------------------------------------------
commit 9c481c2fdcbea3015f17fc5d5be8ed4a31811504
Author: Pauli <paul.dale at oracle.com>
Date: Tue Aug 22 10:36:26 2017 +1000
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 at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4213)
-----------------------------------------------------------------------
Summary of changes:
apps/openssl.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/apps/openssl.c b/apps/openssl.c
index 8a67328..184c401 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;
More information about the openssl-commits
mailing list