From f3540242666b025e043aa9aa78e515f815b84495 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 18 Jan 2017 12:19:57 -0800 Subject: [PATCH] Removed unused variable --- src/joystick/windows/SDL_dinputjoystick.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/joystick/windows/SDL_dinputjoystick.c b/src/joystick/windows/SDL_dinputjoystick.c index 3cd31314e..2ef088065 100644 --- a/src/joystick/windows/SDL_dinputjoystick.c +++ b/src/joystick/windows/SDL_dinputjoystick.c @@ -363,7 +363,6 @@ EnumJoysticksCallback(const DIDEVICEINSTANCE * pdidInstance, VOID * pContext) }; #undef MAKE_TABLE_ENTRY unsigned int i; - SDL_bool should_ignore = SDL_FALSE; for (i = 0; i < SDL_arraysize(ignored_devices); ++i) { if (pdidInstance->guidProduct.Data1 == ignored_devices[i]) {