Fixed uninitialized variable.
This commit is contained in:
parent
311a3e9453
commit
9bfdb9ee33
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue