(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-per.c) |
| |
| 2180 | | | guint32 dissect_per_octet_string_containing_pdu(tvbuff_t *tvb, guint32 offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index, int min_len, int max_len, gboolean has_extension, dissector_t type_cb) |
| 2181 | | | { |
| 2182 | | | tvbuff_t *val_tvb = NULL; |
| 2183 | | | proto_tree *subtree = tree; |
Unused Value
The value assigned to subtree is never subsequently used on any execution path. |
|
| 2184 | | | |
| 2185 | | | offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, min_len, max_len, has_extension, &val_tvb); |
| 2186 | | | |
| 2187 | | | if (type_cb && val_tvb) { |
| 2188 | | | subtree = proto_item_add_subtree(actx->created_item, ett_per_containing); |
| 2189 | | | type_cb(val_tvb, actx->pinfo, subtree); |
| 2190 | | | } |
| 2191 | | | |
| 2192 | | | return offset; |
| 2193 | | | } |
| |