mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Removed unreachable return statement in gesture source.
This commit is contained in:
parent
4e270de15d
commit
95bbf5f443
@ -198,10 +198,8 @@ static int SDL_AddDollarGesture(SDL_GestureTouch* inTouch, SDL_FloatPoint* path)
|
||||
}
|
||||
/* Use the index of the last one added. */
|
||||
return index;
|
||||
} else {
|
||||
return SDL_AddDollarGesture_one(inTouch, path);
|
||||
}
|
||||
return -1;
|
||||
return SDL_AddDollarGesture_one(inTouch, path);
|
||||
}
|
||||
|
||||
int SDL_LoadDollarTemplates(SDL_TouchID touchId, SDL_RWops *src)
|
||||
|
Loading…
Reference in New Issue
Block a user