Browse Source

Removed unused variable

Sam Lantinga 8 years ago
parent
commit
f354024266
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/joystick/windows/SDL_dinputjoystick.c

+ 0 - 1
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]) {