Skip to content

Commit

Permalink
Fix linter warning for no-libusb case
Browse files Browse the repository at this point in the history
  • Loading branch information
janweinstock committed Apr 3, 2024
1 parent 2778169 commit 2bf99e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vcml/models/usb/hostdev_nolibusb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ hostdev::hostdev(const sc_module_name& nm, u32 bus, u32 addr):
usb_in("usb_in") {
if (hostbus > 0u || hostaddr > 0u)
log_warn("USB host devices not supported (missing libusb)");

(void)m_device;
(void)m_handle;
(void)m_ifs;
}

usb_result hostdev::set_config(int config) {
Expand Down

0 comments on commit 2bf99e7

Please sign in to comment.