diff --git a/src/events/SDL_touch.c b/src/events/SDL_touch.c index 9a1b7b58d..41e2c8e42 100644 --- a/src/events/SDL_touch.c +++ b/src/events/SDL_touch.c @@ -396,7 +396,6 @@ int SDL_SendTouchMotion(SDL_TouchID id, SDL_FingerID fingerid, int relative, float xin, float yin, float pressurein) { - int index = SDL_GetTouchIndexId(id); SDL_Touch *touch; SDL_Finger *finger; int posted;