commit | 93d3c202dc0578446a34d5d930fb4a3165a14833 | [log] [tgz] |
---|---|---|
author | Sam Lantinga <slouken@libsdl.org> | Thu Dec 19 04:31:00 2019 -0800 |
committer | Sam Lantinga <slouken@libsdl.org> | Thu Dec 19 04:31:00 2019 -0800 |
tree | 173d91f6bbfdb689cfe0f7b67feb991281d345ae | |
parent | f85f872ffa684b0aed73377d1a11f7672dc5ccbb [diff] |
Fixed compiler warning
diff --git a/src/hidapi/SDL_hidapi.c b/src/hidapi/SDL_hidapi.c index 1bb5756..a06c2cf 100644 --- a/src/hidapi/SDL_hidapi.c +++ b/src/hidapi/SDL_hidapi.c
@@ -535,7 +535,9 @@ struct PLATFORM_hid_device_info *raw_dev; #endif /* HAVE_PLATFORM_BACKEND */ struct hid_device_info *devs = NULL, *last = NULL, *new_dev; +#ifdef SDL_LIBUSB_DYNAMIC SDL_bool bFound; +#endif if (SDL_hidapi_wasinit == SDL_FALSE) { hid_init();