Fixed uninitialized variable.

This commit is contained in:
Ryan C. Gordon 2011-11-08 19:45:41 -05:00
parent 311a3e9453
commit 9bfdb9ee33

View file

@ -189,7 +189,7 @@ static int SDL_AddDollarGesture_one(SDL_GestureTouch* inTouch, SDL_FloatPoint* p
static int SDL_AddDollarGesture(SDL_GestureTouch* inTouch, SDL_FloatPoint* path)
{
int index;
int index = -1;
int i = 0;
if (inTouch == NULL) {
if (SDL_numGestureTouches == 0) return -1;