Unused Value at packet-bthci_cmd.c:1862 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
dissect_testing_cmd (/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-bthci_cmd.c)![]() | ||||||
![]() | ||||||
1846 | dissect_testing_cmd(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, guint16 cmd_ocf) | |||||
1847 | { | |||||
1848 | switch(cmd_ocf) { | |||||
1849 | ||||||
1850 | case 0x0002: /* Write Loopback Mode */ | |||||
1851 | proto_tree_add_item(tree, hf_bthci_cmd_loopback_mode, tvb, offset, 1, TRUE); | |||||
1852 | offset++; | |||||
1853 | break; | |||||
1854 | ||||||
1855 | case 0x0004: /* Write Simple Pairing Debug Mode */ | |||||
1856 | proto_tree_add_item(tree, hf_bthci_cmd_simple_pairing_debug_mode, tvb, offset, 1, TRUE); | |||||
1857 | offset++; | |||||
1858 | break; | |||||
1859 | ||||||
1860 | default: | |||||
1861 | proto_tree_add_item(tree, hf_bthci_cmd_params, tvb, offset, -1, TRUE); | |||||
1862 | offset+=tvb_length_remaining(tvb, offset);
| |||||
1863 | break; | |||||
1864 | ||||||
1865 | } | |||||
1866 | } | |||||
![]() |