forked from osmocom/wireshark
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>
This commit is contained in:
parent
3803e00367
commit
b6f36e95fa
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue