hameg-hmo: Fix two compiler warnings on Windows.
CC libsigrok_hw_hameg_hmo_la-protocol.lo api.c: In function 'auto_find_usb': api.c:70:39: warning: unused parameter 'vendor_id' [-Wunused-parameter] static GSList *auto_find_usb(uint16_t vendor_id, uint16_t product_id) ^ api.c:70:59: warning: unused parameter 'product_id' [-Wunused-parameter] static GSList *auto_find_usb(uint16_t vendor_id, uint16_t product_id) ^
This commit is contained in:
parent
dcc94340bd
commit
55eb33dbf8
|
@ -189,6 +189,9 @@ skip_device:
|
|||
|
||||
return tty_devs;
|
||||
#else
|
||||
(void)vendor_id;
|
||||
(void)product_id;
|
||||
|
||||
return NULL;
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue