Removed unreachable return statement in gesture source.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Sat, 02 Nov 2013 11:51:23 +0100
changeset 7899 e94abe9c40ca
parent 7898 72af77fc6683
child 7900 cc2289c332eb
Removed unreachable return statement in gesture source.
src/events/SDL_gesture.c
--- a/src/events/SDL_gesture.c	Sat Nov 02 11:46:43 2013 +0100
+++ b/src/events/SDL_gesture.c	Sat Nov 02 11:51:23 2013 +0100
@@ -198,10 +198,8 @@
         }
         /* 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)