mirror of https://github.com/encounter/SDL.git
Fixed compiler warning
This commit is contained in:
parent
7b2826f6c2
commit
4237b1834e
|
@ -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;
|
struct PLATFORM_hid_device_info *raw_dev;
|
||||||
#endif /* HAVE_PLATFORM_BACKEND */
|
#endif /* HAVE_PLATFORM_BACKEND */
|
||||||
struct hid_device_info *devs = NULL, *last = NULL, *new_dev;
|
struct hid_device_info *devs = NULL, *last = NULL, *new_dev;
|
||||||
|
#ifdef SDL_LIBUSB_DYNAMIC
|
||||||
SDL_bool bFound;
|
SDL_bool bFound;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (SDL_hidapi_wasinit == SDL_FALSE) {
|
if (SDL_hidapi_wasinit == SDL_FALSE) {
|
||||||
hid_init();
|
hid_init();
|
||||||
|
|
Loading…
Reference in New Issue