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:
Michael Keller 2023-06-12 16:52:41 +12:00 committed by Dirk Hohndel
parent 3939cc8da2
commit 35d88fa6ce

View file

@ -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);