Text   |  XML   |  ReML   |   Visible Warnings:

Unused Value  at packet-usb-masstorage.c:101

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

dissect_usb_ms_get_max_lun

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-usb-masstorage.c)expand/collapse
Show more  
 91  dissect_usb_ms_get_max_lun(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_)
 92  {
 93      if(is_request){
 94          proto_tree_add_item(tree, hf_usb_ms_value, tvb, offset, 2, FALSE);
 95          offset += 2;
 96   
 97          proto_tree_add_item(tree, hf_usb_ms_index, tvb, offset, 2, FALSE);
 98          offset += 2;
 99   
 100          proto_tree_add_item(tree, hf_usb_ms_length, tvb, offset, 2, FALSE);
 101          offset += 2;
 102      } else {
 103          proto_tree_add_item(tree, hf_usb_ms_maxlun, tvb, offset, 1, FALSE);
 104          offset++;
 105      }
 106  }
Show more  




Change Warning 3025.32690 : Unused Value

Priority:
State:
Finding:
Owner:
Note: