diff options
| author | Toomas Soome <tsoome@me.com> | 2017-07-16 11:33:05 +0300 |
|---|---|---|
| committer | Dan McDonald <danmcd@joyent.com> | 2018-04-06 15:44:38 -0400 |
| commit | 586c519ffb95ef510154cdd7c57797c0fecb0434 (patch) | |
| tree | 79ce20f953b3fb3049d182582ac0ae15245b2fe3 | |
| parent | 0d7511a18ccdbeec76a22dca77ab35dd4f1fb685 (diff) | |
| download | illumos-joyent-586c519ffb95ef510154cdd7c57797c0fecb0434.tar.gz | |
9380 fm: this statement may fall through
Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net>
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk>
Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
Approved by: Dan McDonald <danmcd@joyent.com>
| -rw-r--r-- | usr/src/cmd/fm/eversholt/eftinfo/common/eftinfo.c | 3 | ||||
| -rw-r--r-- | usr/src/cmd/fm/eversholt/esc/common/escmain.c | 3 | ||||
| -rw-r--r-- | 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 <stdio.h> #include <string.h> #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 <stdio.h> #include <string.h> #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, |
