libusb/hci_transport_h2_libusb: fix compile without log_error

This commit is contained in:
Matthias Ringwald 2022-12-20 15:14:27 +01:00
parent b5a8309e17
commit 4f0e05eac1

View File

@ -1005,6 +1005,7 @@ void pollfd_added_cb(int fd, short events, void *user_data);
void pollfd_remove_cb(int fd, void *user_data); void pollfd_remove_cb(int fd, void *user_data);
void pollfd_added_cb(int fd, short events, void *user_data) { void pollfd_added_cb(int fd, short events, void *user_data) {
UNUSED(fd);
UNUSED(events); UNUSED(events);
UNUSED(user_data); UNUSED(user_data);
log_error("add fd: %d", fd); log_error("add fd: %d", fd);
@ -1012,6 +1013,7 @@ void pollfd_added_cb(int fd, short events, void *user_data) {
} }
void pollfd_remove_cb(int fd, void *user_data) { void pollfd_remove_cb(int fd, void *user_data) {
UNUSED(fd);
UNUSED(user_data); UNUSED(user_data);
log_error("remove fd: %d", fd); log_error("remove fd: %d", fd);
btstack_assert(0); btstack_assert(0);