From 8eee82cd84866f879cfcfee54d919eb73b4af9d5 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Fri, 3 Feb 2017 23:30:43 +0100 Subject: [PATCH] Windows: Fixed warning about unused variable. Found by buildbot. --- src/joystick/windows/SDL_xinputjoystick.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/joystick/windows/SDL_xinputjoystick.c b/src/joystick/windows/SDL_xinputjoystick.c index 7744bed39..13de4cf83 100644 --- a/src/joystick/windows/SDL_xinputjoystick.c +++ b/src/joystick/windows/SDL_xinputjoystick.c @@ -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. */