Skip to content

Commit

Permalink
Fixed compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Dec 19, 2019
1 parent 7b2826f commit 4237b18
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hidapi/SDL_hidapi.c
Expand Up @@ -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();
Expand Down

0 comments on commit 4237b18

Please sign in to comment.