Text   |  XML   |  ReML   |   Visible Warnings:

Unused Value  at packet-bthci_cmd.c:1827

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

dissect_status_parameters_cmd

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-bthci_cmd.c)expand/collapse
Show more  
 1816  dissect_status_parameters_cmd(tvbuff_t *tvb, int offset, packet_info *pinfo _U_,  
 1817                  proto_tree *tree, guint16 cmd_ocf)
 1818  {
 1819          switch(cmd_ocf) {
 1820   
 1821                  case 0x0001: /* Read Failed Contact Counter */
 1822                  case 0x0002: /* Reset Failed Contact Counter */
 1823                  case 0x0003: /* Get Link Quality */
 1824                  case 0x0005: /* Read RSSI */
 1825                  case 0x0006: /* Read AFH Channel Map */
 1826                          proto_tree_add_item(tree, hf_bthci_cmd_connection_handle, tvb, offset, 2, TRUE);
 1827                          offset+=2;
 1828                          break;
 1829   
 1830                  case 0x0007: /* Read Clock */
 1831                          proto_tree_add_item(tree, hf_bthci_cmd_connection_handle, tvb, offset, 2, TRUE);
 1832                          offset+=2;
 1833                          proto_tree_add_item(tree, hf_bthci_cmd_which_clock, tvb, offset, 1, TRUE);
 1834                          offset++;
 1835                          break;
 1836   
 1837                  default:
 1838                          proto_tree_add_item(tree, hf_bthci_cmd_params, tvb, offset, -1, TRUE);
 1839                          offset+=tvb_length_remaining(tvb, offset);
 1840                          break;
 1841   
 1842          }
 1843  }
Show more  




Change Warning 1960.32177 : Unused Value

Priority:
State:
Finding:
Owner:
Note: