(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc.c) |
| |
| 4301 | | | dissect_dcerpc_dg_cancel_ack (tvbuff_t *tvb, int offset, packet_info *pinfo, |
| 4302 | | | proto_tree *dcerpc_tree, |
| 4303 | | | e_dce_dg_common_hdr_t *hdr) |
| 4304 | | | { |
| 4305 | | | guint32 version; |
| 4306 | | | |
| 4307 | | | offset = dissect_dcerpc_uint32 (tvb, offset, pinfo, dcerpc_tree, |
| 4308 | | | hdr->drep, hf_dcerpc_dg_cancel_vers, |
| 4309 | | | &version); |
| 4310 | | | |
| 4311 | | | switch (version) { |
| 4312 | | | |
| 4313 | | | case 0: |
| 4314 | | | |
| 4315 | | | offset = dissect_dcerpc_uint32 (tvb, offset, pinfo, dcerpc_tree, |
| 4316 | | | hdr->drep, hf_dcerpc_dg_cancel_id, |
| 4317 | | | NULL); |
| 4318 | | | offset = dissect_dcerpc_uint8 (tvb, offset, pinfo, dcerpc_tree, |
Unused Value
The value assigned to offset is never subsequently used on any execution path. |
|
| 4319 | | | hdr->drep, hf_dcerpc_dg_server_accepting_cancels, |
| 4320 | | | NULL); |
| 4321 | | | break; |
| 4322 | | | } |
| 4323 | | | } |
| |