Skip to content
Permalink
Browse files

Removed unreachable return statement in gesture source.

  • Loading branch information
philippwiesemann committed Nov 2, 2013
1 parent 4e270de commit 95bbf5f443822de3c7ccaae45a25dc57948ebc26
Showing with 1 addition and 3 deletions.
  1. +1 −3 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)

0 comments on commit 95bbf5f

Please sign in to comment.