OSDN Git Service

hci_packetizer: fix unused building errors s-x86
authorMauro Rossi <issor.oruam@gmail.com>
Thu, 26 Dec 2019 20:52:57 +0000 (21:52 +0100)
committerMauro Rossi <issor.oruam@gmail.com>
Fri, 9 Sep 2022 22:19:46 +0000 (00:19 +0200)
commit975c95cb11655046926e89e5b196cf700b08bd92
tree08ac5ed36b024f70bae0586aeb9b49c25efb72dd
parente9aed617ba20774949d20dd7e34b4cff7d976042
hci_packetizer: fix unused building errors

Fixes the following building errors:

system/bt/vendor_libs/linux/interface/hci_packetizer.cc:28:14:
error: unused variable 'preamble_size_for_type' [-Werror,-Wunused-const-variable]
const size_t preamble_size_for_type[] = {
             ^
system/bt/vendor_libs/linux/interface/hci_packetizer.cc:35:8:
error: unused function 'HciGetPacketLengthForType' [-Werror,-Wunused-function]
size_t HciGetPacketLengthForType(HciPacketType type, const uint8_t* preamble) {
       ^
2 errors generated.
vendor_libs/linux/interface/hci_packetizer.cc