diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2017-03-05 19:38:59 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-03-05 22:39:13 +0000 |
commit | c1e6724cf6938de24ddfbcb0227aad5822a80c2d (patch) | |
tree | d2a36eeb67d9771ab7649b98272db23287ddbdad /epan/dissectors/asn1/gsm_map/packet-gsm_map-template.c | |
parent | 70e04f3f4c1a290ce8834bb7f9773d4f644db5e8 (diff) |
dissectors: fix this statement may fall through [-Werror=implicit-fallthrough=] found by gcc7
Change-Id: Iba6238988ded675cba328ab512232d1919d93b4a
Reviewed-on: https://code.wireshark.org/review/20415
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/asn1/gsm_map/packet-gsm_map-template.c')
-rw-r--r-- | epan/dissectors/asn1/gsm_map/packet-gsm_map-template.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/asn1/gsm_map/packet-gsm_map-template.c b/epan/dissectors/asn1/gsm_map/packet-gsm_map-template.c index ce83d1c861..8c72ed180f 100644 --- a/epan/dissectors/asn1/gsm_map/packet-gsm_map-template.c +++ b/epan/dissectors/asn1/gsm_map/packet-gsm_map-template.c @@ -914,12 +914,12 @@ const gchar* gsm_map_opr_code(guint32 val, proto_item *item) { case 44: /*mt-forwardSM*/ /* FALLTHRU */ case 46: /*mo-forwardSM*/ - /* FALLTHRU */ if (application_context_version < 3) { proto_item_set_text(item, "%s (%d)", val_to_str_const(val, gsm_map_V1V2_opr_code_strings, "Unknown GSM-MAP opcode"), val); return val_to_str_const(val, gsm_map_V1V2_opr_code_strings, "Unknown GSM-MAP opcode"); } /* Else use the default map operation translation */ + /* FALLTHRU */ default: return val_to_str_ext_const(val, &gsm_old_GSMMAPOperationLocalvalue_vals_ext, "Unknown GSM-MAP opcode"); break; |