Removed unused variable

This commit is contained in:
Sam Lantinga 2017-01-18 12:19:57 -08:00
parent b0c5ceef7d
commit f354024266

View File

@ -363,7 +363,6 @@ EnumJoysticksCallback(const DIDEVICEINSTANCE * pdidInstance, VOID * pContext)
}; };
#undef MAKE_TABLE_ENTRY #undef MAKE_TABLE_ENTRY
unsigned int i; unsigned int i;
SDL_bool should_ignore = SDL_FALSE;
for (i = 0; i < SDL_arraysize(ignored_devices); ++i) { for (i = 0; i < SDL_arraysize(ignored_devices); ++i) {
if (pdidInstance->guidProduct.Data1 == ignored_devices[i]) { if (pdidInstance->guidProduct.Data1 == ignored_devices[i]) {