summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2017-03-05 15:34:39 +0100
committerMichael Mann <mmann78@netscape.net>2017-03-05 15:14:39 +0000
commit867d5cd6b10f2dbf1e845e8f32a4579065893151 (patch)
tree7418977d149c86e6ba97fa0bca60211d7457e87e /tools
parente3253915743da14ae3e60b8dabc66283a969dcdc (diff)
downloadwireshark-867d5cd6b10f2dbf1e845e8f32a4579065893151.tar.gz
lemon: fix this statement may fall through [-Werror=implicit-fallthrough=] found by gcc7
Change-Id: If52bc0092f1baa833e35a9f4c107faf72c3b64d1 Reviewed-on: https://code.wireshark.org/review/20392 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'tools')
-rw-r--r--tools/lemon/lemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lemon/lemon.c b/tools/lemon/lemon.c
index de0ae2362b..db05bbaae3 100644
--- a/tools/lemon/lemon.c
+++ b/tools/lemon/lemon.c
@@ -2236,7 +2236,7 @@ static void parseonetoken(struct pstate *psp)
psp->preccounter = 0;
psp->firstrule = psp->lastrule = 0;
psp->gp->nrule = 0;
- /* Fall thru to next case */
+ /* FALL THROUGH */
case WAITING_FOR_DECL_OR_RULE:
if( x[0]=='%' ){
psp->state = WAITING_FOR_DECL_KEYWORD;