(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-ansi_map.c) |
| |
| 10638 | | | dissect_ansi_map_SMS_TeleserviceIdentifier(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { |
| 10639 | | | #line 308 "ansi_map.cnf" |
| 10640 | | | |
| 10641 | | | int length; |
| 10642 | | | proto_tree *subtree; |
| 10643 | | | tvbuff_t *parameter_tvb = NULL; |
| 10644 | | | ansi_map_sms_tele_id = -1; |
| 10645 | | | |
| 10646 | | | offset = dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index, |
| 10647 | | | ¶meter_tvb); |
| 10648 | | | |
| 10649 | | | if (parameter_tvb){ |
| 10650 | | | |
| 10651 | | | length = tvb_length_remaining(parameter_tvb,0); |
| 10652 | | | if (length <=0){ |
| 10653 | | | subtree = proto_item_add_subtree(actx->created_item, ett_sms_teleserviceIdentifier); |
Unused Value
The value assigned to subtree is never subsequently used on any execution path. |
|
| 10654 | | | proto_item_append_text(actx->created_item, " length %u",length); |
| 10655 | | | return offset; |
| 10656 | | | } |
| 10657 | | | ansi_map_sms_tele_id = tvb_get_ntohs(tvb,0); |
| 10658 | | | if ((ansi_map_sms_tele_id != -1)&&(SMS_BearerData_tvb !=NULL)) |
| 10659 | | | { |
| 10660 | | | dissector_try_port(is637_tele_id_dissector_table, ansi_map_sms_tele_id, SMS_BearerData_tvb, g_pinfo, g_tree); |
| 10661 | | | } |
| 10662 | | | } |
| 10663 | | | |
| 10664 | | | |
| 10665 | | | |
| 10666 | | | return offset; |
| 10667 | | | } |
| |