ISI: fix code will never be executed [-Wunreachable-code]
Change-Id: I24185128e664a0f7cc2b59d5d653582cddd04df1 Reviewed-on: https://code.wireshark.org/review/11686 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
905314f259
commit
b9b74fcf57
|
@ -944,12 +944,12 @@ static void dissect_isi_sim(tvbuff_t *tvb, packet_info *pinfo, proto_item *isitr
|
|||
case 0x22: /* SIM_SERV_PROV_NAME_RESP */
|
||||
code = tvb_get_guint8(tvb, 1);
|
||||
switch(code) {
|
||||
default:
|
||||
case 0x2c:
|
||||
proto_tree_add_item(tree, hf_isi_sim_cause, tvb, 1, 1, ENC_BIG_ENDIAN);
|
||||
proto_tree_add_item(tree, hf_isi_sim_secondary_cause, tvb, 2, 1, ENC_BIG_ENDIAN);
|
||||
col_set_str(pinfo->cinfo, COL_INFO, "Service Provider Name Response: Invalid Location");
|
||||
break;
|
||||
default:
|
||||
col_set_str(pinfo->cinfo, COL_INFO, "Service Provider Name Response");
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue