summaryrefslogtreecommitdiff
path: root/soltools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-26 14:55:14 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-26 15:08:39 +0100
commit23bf4227231eb081f906382ca05e7c2bea5612ec (patch)
tree89e969e1197bd23f6538755e057a33be95a3fe1d /soltools
parente99364e34b79c89ed5b77eb4f985eab4546dadac (diff)
-Werror=implicit-fallthrough= (GCC 7)
Change-Id: I2e9ab956fc1e59d09b7409333f18230e34b6a9b7
Diffstat (limited to 'soltools')
-rw-r--r--soltools/cpp/_eval.c2
-rw-r--r--soltools/cpp/_lex.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/soltools/cpp/_eval.c b/soltools/cpp/_eval.c
index 84d8a79b5d44..e1eceb204371 100644
--- a/soltools/cpp/_eval.c
+++ b/soltools/cpp/_eval.c
@@ -319,7 +319,7 @@ long
}
continue;
}
- /* flow through */
+ /* fall through */
/* plain binary */
case EQ:
diff --git a/soltools/cpp/_lex.c b/soltools/cpp/_lex.c
index a8f874d6d464..de18fd50045a 100644
--- a/soltools/cpp/_lex.c
+++ b/soltools/cpp/_lex.c
@@ -492,6 +492,7 @@ continue2:
case S_STNL:
error(ERROR, "Unterminated string or char const");
+ /* fall through */
case S_NL:
tp->t = ip;
tp->type = NL;
@@ -516,6 +517,7 @@ continue2:
case S_EOFCOM:
error(WARNING, "EOF inside comment");
--ip;
+ /* fall through */
case S_COMMENT:
if (!Cflag)
{