Removed unreachable return statement in gesture source.

This commit is contained in:
Philipp Wiesemann 2013-11-02 11:51:23 +01:00
parent 2c84e8979a
commit 97dba3380d

View file

@ -198,10 +198,8 @@ static int SDL_AddDollarGesture(SDL_GestureTouch* inTouch, SDL_FloatPoint* path)
} }
/* Use the index of the last one added. */ /* Use the index of the last one added. */
return index; 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) int SDL_LoadDollarTemplates(SDL_TouchID touchId, SDL_RWops *src)