summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2019-09-02 09:12:53 +1000
committerPauli <paul.dale@oracle.com>2019-09-03 18:06:25 +1000
commit7964e3709af59675795ab1f4f69a935980379a66 (patch)
tree949d175607dbf38e7315e3d04f5ab53c3705f180 /apps
parent363e941ed43c648adf4d6d0874077ddd80041e1f (diff)
Fix Coverity 1453452: Control flow issues (DEADCODE)
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9749)
Diffstat (limited to 'apps')
-rw-r--r--apps/provider.c3
1 files changed, 1 insertions, 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: