(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-gsm_a_rr.c) |
| |
| 6333 | | | de_rr_carrier_ind(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len _U_, gchar *add_string _U_, int string_len _U_) |
| 6334 | | | { |
| 6335 | | | proto_tree *subtree; |
| 6336 | | | proto_item *item; |
| 6337 | | | guint32 curr_offset; |
| 6338 | | | |
| 6339 | | | curr_offset = offset; |
| 6340 | | | |
| 6341 | | | item = proto_tree_add_text(tree, tvb, curr_offset, 3, "%s", |
| 6342 | | | gsm_rr_elem_strings[DE_RR_CARRIER_IND].strptr); |
| 6343 | | | |
| 6344 | | | subtree = proto_item_add_subtree(item, ett_gsm_rr_elem[DE_RR_CARRIER_IND]); |
Unused Value
The value assigned to subtree is never subsequently used on any execution path. |
|
| 6345 | | | |
| 6346 | | | proto_tree_add_item(tree, hf_gsm_a_rr_carrier_ind, tvb, curr_offset, 1, FALSE); |
| 6347 | | | |
| 6348 | | | curr_offset += 1; |
| 6349 | | | |
| 6350 | | | return(curr_offset - offset); |
| 6351 | | | } |
| |