(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-usb-masstorage.c) |
| |
| 74 | | | dissect_usb_ms_reset(packet_info *pinfo _U_, proto_tree *tree, tvbuff_t *tvb, int offset, gboolean is_request, usb_trans_info_t *usb_trans_info _U_, usb_conv_info_t *usb_conv_info _U_) |
| 75 | | | { |
| 76 | | | if(is_request){ |
| 77 | | | proto_tree_add_item(tree, hf_usb_ms_value, tvb, offset, 2, FALSE); |
| 78 | | | offset += 2; |
| 79 | | | |
| 80 | | | proto_tree_add_item(tree, hf_usb_ms_index, tvb, offset, 2, FALSE); |
| 81 | | | offset += 2; |
| 82 | | | |
| 83 | | | proto_tree_add_item(tree, hf_usb_ms_length, tvb, offset, 2, FALSE); |
| 84 | | | offset += 2; |
Unused Value
The value assigned to offset is never subsequently used on any execution path. |
|
| 85 | | | } else { |
| 86 | | | |
| 87 | | | } |
| 88 | | | } |
| |