summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2017-07-16 11:42:00 +0300
committerDan McDonald <danmcd@joyent.com>2018-04-06 15:44:27 -0400
commit0d7511a18ccdbeec76a22dca77ab35dd4f1fb685 (patch)
tree1d590075eab1fcee5fd6b6af1fac10ba9a5c4721
parent9807e1309317ed174757f9890d2b220d4fdeb3cf (diff)
downloadillumos-joyent-0d7511a18ccdbeec76a22dca77ab35dd4f1fb685.tar.gz
9378 refer: this statement may fall through
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/refer/refer2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/cmd/refer/refer2.c b/usr/src/cmd/refer/refer2.c
index f6fe088d3c..f8605e227b 100644
--- a/usr/src/cmd/refer/refer2.c
+++ b/usr/src/cmd/refer/refer2.c
@@ -12,8 +12,6 @@
* specifies the terms and conditions for redistribution.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include "refer..c"
#include <locale.h>
#define NFLD 30
@@ -137,6 +135,8 @@ again:
while (*p != '\n')
p++;
*++p = 0;
+ /* FALLTHROUGH */
+
case 1:
if (endpush)
if (nr = chkdup(answer)) {