From 586c519ffb95ef510154cdd7c57797c0fecb0434 Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Sun, 16 Jul 2017 11:33:05 +0300 Subject: 9380 fm: this statement may fall through Reviewed by: Sebastian Wiedenroth Reviewed by: Andy Fiddaman Reviewed by: Andrew Stormont Approved by: Dan McDonald --- usr/src/cmd/fm/eversholt/eftinfo/common/eftinfo.c | 3 +-- usr/src/cmd/fm/eversholt/esc/common/escmain.c | 3 +-- usr/src/cmd/fm/modules/common/eversholt/eval.c | 1 + 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/usr/src/cmd/fm/eversholt/eftinfo/common/eftinfo.c b/usr/src/cmd/fm/eversholt/eftinfo/common/eftinfo.c index 68332725d6..03f06dfae7 100644 --- a/usr/src/cmd/fm/eversholt/eftinfo/common/eftinfo.c +++ b/usr/src/cmd/fm/eversholt/eftinfo/common/eftinfo.c @@ -29,8 +29,6 @@ * modules is driven by this file. */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include #include #ifdef sun @@ -161,6 +159,7 @@ main(int argc, char *argv[]) VERSION_MAJOR, VERSION_MINOR); out(O_DIE|O_USAGE, "%s\n%s", Usage, Help); /*NOTREACHED*/ + break; case 'p': pflag++; diff --git a/usr/src/cmd/fm/eversholt/esc/common/escmain.c b/usr/src/cmd/fm/eversholt/esc/common/escmain.c index eec47214ba..8b68098fc5 100644 --- a/usr/src/cmd/fm/eversholt/esc/common/escmain.c +++ b/usr/src/cmd/fm/eversholt/esc/common/escmain.c @@ -29,8 +29,6 @@ * modules is driven by this file. */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include #include #ifdef sun @@ -165,6 +163,7 @@ main(int argc, char *argv[]) VERSION_MAJOR, VERSION_MINOR); out(O_DIE|O_USAGE, "%s\n%s", Usage, Help); /*NOTREACHED*/ + break; case 'o': outfile = optarg; diff --git a/usr/src/cmd/fm/modules/common/eversholt/eval.c b/usr/src/cmd/fm/modules/common/eversholt/eval.c index 8e05ae0bc1..a3c47f91dc 100644 --- a/usr/src/cmd/fm/modules/common/eversholt/eval.c +++ b/usr/src/cmd/fm/modules/common/eversholt/eval.c @@ -1698,6 +1698,7 @@ eval_expr(struct node *np, struct lut *ex, struct node *events[], out(O_ALTFP|O_DIE, "eval_expr: wrong context for operation %s", ptree_nodetype2str(np->t)); /*NOTREACHED*/ + break; case T_NE: if (!eval_expr(np->u.expr.left, ex, events, globals, croot, -- cgit v1.2.3