aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2017-07-03 09:15:12 +0200
committerMichael Mann <mmann78@netscape.net>2017-07-03 19:58:11 +0000
commitb6f36e95fa2f549604c4c7a9ae72fd8eb361bf1a (patch)
treef966839971a7c8d1058de4efc40f67a60cec0f50 /plugins
parent3803e00367413260cbb543c3c4ed13ae2d8fd194 (diff)
mate_grammar(lemon): fix this statement may fall through [-Werror=implicit-fallthrough] found by gcc7
Change-Id: Id26c1c0d1678613a90ff7707265ec062cd30cf83 Reviewed-on: https://code.wireshark.org/review/22501 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mate/mate_grammar.lemon3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/mate/mate_grammar.lemon b/plugins/mate/mate_grammar.lemon
index 302f058..b788ac4 100644
--- a/plugins/mate/mate_grammar.lemon
+++ b/plugins/mate/mate_grammar.lemon
@@ -151,6 +151,7 @@ static gchar* recolonize(mate_config* mc, gchar* s) {
} else {
v += (vec[i][1] - 'a' + 10)*16;
}
+ /* FALL THROUGH */
case 1:
if (vec[i][0] >= '0' && vec[i][0] <= '9') {
v += (vec[i][0] - '0' );
@@ -159,7 +160,7 @@ static gchar* recolonize(mate_config* mc, gchar* s) {
}
case 0:
break;
- default:
+ default:
configuration_error(mc,"bad token %s",s);
}