From 35d88fa6ceaccaf2662c6c7565185a25d6b58d90 Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Mon, 12 Jun 2023 16:52:41 +1200 Subject: [PATCH] Build: Fix build warning on MacOS. Fix a build warning for an unused variable. Signed-off-by: Michael Keller --- core/macos.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/core/macos.cpp b/core/macos.cpp index 5a8a46d04..1bec49fda 100644 --- a/core/macos.cpp +++ b/core/macos.cpp @@ -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);