提交 9c481c2f 编写于 作者: P Pauli

Dead code elimination.

Remove the exit_main function which is never used.
Remove the exit_options array which is also unreferenced.
Reviewed-by: NRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4213)
上级 a1df06b3
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册