summaryrefslogtreecommitdiffstats
path: root/bin/sh
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2002-08-25 13:01:47 +0000
committercharnier <charnier@FreeBSD.org>2002-08-25 13:01:47 +0000
commitc88222c6c0149f22317404fa4c67eba023d90206 (patch)
tree956af2bc985558970e580524f3f7b43cb8eea5c3 /bin/sh
parentc7378f848bc6b0fb2ba56c417a252bf169c9c908 (diff)
downloadFreeBSD-src-c88222c6c0149f22317404fa4c67eba023d90206.zip
FreeBSD-src-c88222c6c0149f22317404fa4c67eba023d90206.tar.gz
Replace various spellings with FALLTHROUGH which is lint()able
Diffstat (limited to 'bin/sh')
-rw-r--r--bin/sh/expand.c2
-rw-r--r--bin/sh/parser.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/sh/expand.c b/bin/sh/expand.c
index eaab1bd..a8cad11 100644
--- a/bin/sh/expand.c
+++ b/bin/sh/expand.c
@@ -893,7 +893,7 @@ numvar:
}
break;
}
- /* fall through */
+ /* FALLTHROUGH */
case '*':
if (ifsset() != 0)
sep = ifsval()[0];
diff --git a/bin/sh/parser.c b/bin/sh/parser.c
index e87047f..5da28ad 100644
--- a/bin/sh/parser.c
+++ b/bin/sh/parser.c
@@ -193,7 +193,7 @@ list(int nlflag)
case TBACKGND:
case TSEMI:
tok = readtoken();
- /* fall through */
+ /* FALLTHROUGH */
case TNL:
if (tok == TNL) {
parseheredoc();
OpenPOWER on IntegriCloud