src/events/SDL_gesture.c
changeset 6071 72f06ae88e7e
parent 6070 69b6275bb5dc
child 6138 4c64952a58fb
     1.1 --- a/src/events/SDL_gesture.c	Tue Nov 08 16:24:02 2011 -0500
     1.2 +++ b/src/events/SDL_gesture.c	Tue Nov 08 19:45:41 2011 -0500
     1.3 @@ -189,7 +189,7 @@
     1.4  
     1.5  static int SDL_AddDollarGesture(SDL_GestureTouch* inTouch, SDL_FloatPoint* path)
     1.6  {
     1.7 -    int index;
     1.8 +    int index = -1;
     1.9      int i = 0;
    1.10      if (inTouch == NULL) {
    1.11          if (SDL_numGestureTouches == 0) return -1;