From 95bbf5f443822de3c7ccaae45a25dc57948ebc26 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Sat, 2 Nov 2013 11:51:23 +0100 Subject: [PATCH] Removed unreachable return statement in gesture source. --- src/events/SDL_gesture.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/events/SDL_gesture.c b/src/events/SDL_gesture.c index 20ce57b57..d59fde275 100644 --- a/src/events/SDL_gesture.c +++ b/src/events/SDL_gesture.c @@ -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)