Commit 9bfdb9ee authored by Ryan C. Gordon's avatar Ryan C. Gordon

Fixed uninitialized variable.

parent 311a3e94
...@@ -189,7 +189,7 @@ static int SDL_AddDollarGesture_one(SDL_GestureTouch* inTouch, SDL_FloatPoint* p ...@@ -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) static int SDL_AddDollarGesture(SDL_GestureTouch* inTouch, SDL_FloatPoint* path)
{ {
int index; int index = -1;
int i = 0; int i = 0;
if (inTouch == NULL) { if (inTouch == NULL) {
if (SDL_numGestureTouches == 0) return -1; if (SDL_numGestureTouches == 0) return -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment