Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed uninitialized variable.

  • Loading branch information
icculus committed Nov 9, 2011
1 parent 24d5a8e commit 68c75e79d3f8e74b51a80ed60cdb4cc80ed3d8c3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/events/SDL_gesture.c
@@ -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;

0 comments on commit 68c75e7

Please sign in to comment.