(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-zbee-zdp-discovery.c) |
| |
| 729 | | | dissect_zbee_zdp_req_ext_simple_desc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) |
| 730 | | | { |
| 731 | | | guint offset = 0; |
| 732 | | | guint16 device; |
| 733 | | | guint8 endpt; |
| 734 | | | guint8 index; |
| 735 | | | |
| 736 | | | device = zbee_parse_uint(tree, hf_zbee_zdp_device, tvb, &offset, sizeof(guint16), NULL); |
| 737 | | | endpt = zbee_parse_uint(tree, hf_zbee_zdp_endpoint, tvb, &offset, sizeof(guint8), NULL); |
| 738 | | | index = zbee_parse_uint(tree, hf_zbee_zdp_index, tvb, &offset, sizeof(guint8), NULL); |
Unused Value
The value assigned to index is never subsequently used on any execution path. |
|
| 739 | | | |
| 740 | | | zbee_append_info(tree, pinfo, ", Device: 0x%04x, Endpoint: %d", device, endpt); |
| 741 | | | |
| 742 | | | |
| 743 | | | zdp_dump_excess(tvb, offset, pinfo, tree); |
| 744 | | | } |
| |