Fixed compiler warning
authorSam Lantinga <slouken@libsdl.org>
Thu, 19 Dec 2019 04:31:00 -0800
changeset 13352663428d994ab
parent 13351 472db3f71645
child 13353 381ddcd3957c
Fixed compiler warning
src/hidapi/SDL_hidapi.c
     1.1 --- a/src/hidapi/SDL_hidapi.c	Tue Dec 17 12:03:57 2019 -0800
     1.2 +++ b/src/hidapi/SDL_hidapi.c	Thu Dec 19 04:31:00 2019 -0800
     1.3 @@ -535,7 +535,9 @@
     1.4      struct PLATFORM_hid_device_info *raw_dev;
     1.5  #endif /* HAVE_PLATFORM_BACKEND */
     1.6      struct hid_device_info *devs = NULL, *last = NULL, *new_dev;
     1.7 +#ifdef SDL_LIBUSB_DYNAMIC
     1.8      SDL_bool bFound;
     1.9 +#endif
    1.10  
    1.11      if (SDL_hidapi_wasinit == SDL_FALSE) {
    1.12          hid_init();