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:
Alexis La Goutte 2015-11-10 16:44:15 +01:00 committed by Michael Mann
parent 905314f259
commit b9b74fcf57
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}