Build: Fix build warning on MacOS.
Fix a build warning for an unused variable. Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
parent
3939cc8da2
commit
35d88fa6ce
@ -82,7 +82,6 @@ int enumerate_devices(device_callback_t callback, void *userdata, unsigned int t
|
||||
int index = -1, entries = 0;
|
||||
DIR *dp = NULL;
|
||||
struct dirent *ep = NULL;
|
||||
size_t i;
|
||||
if (transport & DC_TRANSPORT_SERIAL) {
|
||||
// on Mac we always support FTDI now
|
||||
callback("FTDI", userdata);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user