mirror of https://github.com/encounter/SDL.git
Windows: Fixed warning about unused variable.
Found by buildbot.
This commit is contained in:
parent
33ff5bd148
commit
8eee82cd84
|
@ -119,7 +119,7 @@ GuessXInputDevice(Uint8 userid, Uint16 *pVID, Uint16 *pPID, Uint16 *pVersion)
|
||||||
#ifndef __WINRT__ /* TODO: remove this ifndef __WINRT__ block, but only after integrating with UWP/WinRT's HID API */
|
#ifndef __WINRT__ /* TODO: remove this ifndef __WINRT__ block, but only after integrating with UWP/WinRT's HID API */
|
||||||
|
|
||||||
PRAWINPUTDEVICELIST devices = NULL;
|
PRAWINPUTDEVICELIST devices = NULL;
|
||||||
UINT i, j, found_count = 0, device_count = 0;
|
UINT i, j, device_count = 0;
|
||||||
|
|
||||||
if ((GetRawInputDeviceList(NULL, &device_count, sizeof(RAWINPUTDEVICELIST)) == -1) || (!device_count)) {
|
if ((GetRawInputDeviceList(NULL, &device_count, sizeof(RAWINPUTDEVICELIST)) == -1) || (!device_count)) {
|
||||||
return; /* oh well. */
|
return; /* oh well. */
|
||||||
|
|
Loading…
Reference in New Issue