Skip to content

Commit

Permalink
Windows: Fixed warning about unused variable.
Browse files Browse the repository at this point in the history
Found by buildbot.
  • Loading branch information
philippwiesemann committed Feb 3, 2017
1 parent 33ff5bd commit 8eee82c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/joystick/windows/SDL_xinputjoystick.c
Expand Up @@ -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 */

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)) {
return; /* oh well. */
Expand Down

0 comments on commit 8eee82c

Please sign in to comment.