diff options
author | Bernhard Nortmann <bernhard.nortmann@web.de> | 2016-04-18 12:43:36 +0300 |
---|---|---|
committer | Bernhard Nortmann <bernhard.nortmann@web.de> | 2016-05-04 23:34:27 +0300 |
commit | c4507cbc8788be4a3bbcafd1dd7a4336e4e629ab (patch) | |
tree | 3b9baf1f7a1224fa2716318f9af938ac51e31861 | |
parent | 2519a2048162f39b8df13bbcdcd7ba46e682c598 (diff) |
fel: Avoid -Wunused-variable (iface_detached) on non-Linux platforms
Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
-rw-r--r-- | fel.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1366,7 +1366,9 @@ int main(int argc, char **argv) bool pflag_active = false; /* -p switch, causing "write" to output progress */ libusb_device_handle *handle; int busnum = -1, devnum = -1; +#if defined(__linux__) int iface_detached = -1; +#endif if (argc <= 1) { printf("Usage: %s [options] command arguments... [command...]\n" |