(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-zbee-zdp-discovery.c) |
| |
| 93 | | | dissect_zbee_zdp_req_ext_addr(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) |
| 94 | | | { |
| 95 | | | guint offset = 0; |
| 96 | | | |
| 97 | | | guint16 device; |
| 98 | | | guint8 req_type; |
| 99 | | | guint8 index; |
| 100 | | | |
| 101 | | | device = zbee_parse_uint(tree, hf_zbee_zdp_device, tvb, &offset, sizeof(guint16), NULL); |
| 102 | | | req_type = zbee_parse_uint(tree, hf_zbee_zdp_req_type, tvb, &offset, sizeof(guint8), NULL); |
Unused Value
The value assigned to req_type is never subsequently used on any execution path. |
|
| 103 | | | index = zbee_parse_uint(tree, hf_zbee_zdp_index, tvb, &offset, sizeof(guint8), NULL); |
| 104 | | | |
| 105 | | | zbee_append_info(tree, pinfo, ", Device: 0x%04x", device); |
| 106 | | | |
| 107 | | | |
| 108 | | | zdp_dump_excess(tvb, offset, pinfo, tree); |
| 109 | | | } |
| |