Commit f3540242666b025e043aa9aa78e515f815b84495

Sam Lantinga 2017-01-18T12:19:57

Removed unused variable

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/joystick/windows/SDL_dinputjoystick.c b/src/joystick/windows/SDL_dinputjoystick.c
index 3cd3131..2ef0880 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]) {