Removed unreachable return statement in gesture source.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Sat, 02 Nov 2013 11:51:23 +0100
changeset 7899e94abe9c40ca
parent 7898 72af77fc6683
child 7900 cc2289c332eb
Removed unreachable return statement in gesture source.
src/events/SDL_gesture.c
     1.1 --- a/src/events/SDL_gesture.c	Sat Nov 02 11:46:43 2013 +0100
     1.2 +++ b/src/events/SDL_gesture.c	Sat Nov 02 11:51:23 2013 +0100
     1.3 @@ -198,10 +198,8 @@
     1.4          }
     1.5          /* Use the index of the last one added. */
     1.6          return index;
     1.7 -    } else {
     1.8 -        return SDL_AddDollarGesture_one(inTouch, path);
     1.9      }
    1.10 -    return -1;
    1.11 +    return SDL_AddDollarGesture_one(inTouch, path);
    1.12  }
    1.13  
    1.14  int SDL_LoadDollarTemplates(SDL_TouchID touchId, SDL_RWops *src)