From 7964e3709af59675795ab1f4f69a935980379a66 Mon Sep 17 00:00:00 2001 From: Pauli Date: Mon, 2 Sep 2019 09:12:53 +1000 Subject: [PATCH] Fix Coverity 1453452: Control flow issues (DEADCODE) Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/9749) --- apps/provider.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/provider.c b/apps/provider.c index 932bc40931..fe5ca1d1f7 100644 --- a/apps/provider.c +++ b/apps/provider.c @@ -165,8 +165,7 @@ int provider_main(int argc, char **argv) prog = opt_init(argc, argv, provider_options); while ((o = opt_next()) != OPT_EOF) { switch (o) { - case OPT_EOF: - case OPT_ERR: + default: /* Catching OPT_ERR & covering OPT_EOF which isn't possible */ BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); goto end; case OPT_HELP: -- 2.25.1