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:
Uwe Hermann 2014-01-17 00:37:58 +01:00
parent dcc94340bd
commit 55eb33dbf8
1 changed files with 3 additions and 0 deletions

View File

@ -189,6 +189,9 @@ skip_device:
return tty_devs;
#else
(void)vendor_id;
(void)product_id;
return NULL;
#endif
}