From: Pauli Date: Tue, 7 May 2019 01:10:33 +0000 (+1000) Subject: Coverity CID 1444950: Control flow issues X-Git-Tag: openssl-3.0.0-alpha1~2082 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0dc6bf3c39732aea7bc049d145c395bbec895f52;p=oweals%2Fopenssl.git Coverity CID 1444950: Control flow issues Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/8888) --- diff --git a/apps/info.c b/apps/info.c index aa019ad19e..a2c359e0f8 100644 --- a/apps/info.c +++ b/apps/info.c @@ -42,8 +42,7 @@ int info_main(int argc, char **argv) prog = opt_init(argc, argv, info_options); while ((o = opt_next()) != OPT_EOF) { switch (o) { - case OPT_EOF: - case OPT_ERR: + default: opthelp: BIO_printf(bio_err, "%s: Use -help for summary.\n", prog); goto end;