Skip to content

Commit

Permalink
Removed unreachable return statement in gesture source.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Nov 2, 2013
1 parent 4e270de commit 95bbf5f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/events/SDL_gesture.c
Expand Up @@ -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)
Expand Down

0 comments on commit 95bbf5f

Please sign in to comment.