Fixed compiler warning

This commit is contained in:
Sam Lantinga 2019-12-19 04:31:00 -08:00
parent 7b2826f6c2
commit 4237b1834e
1 changed files with 2 additions and 0 deletions

View File

@ -535,7 +535,9 @@ struct hid_device_info HID_API_EXPORT * HID_API_CALL hid_enumerate(unsigned shor
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();