mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-06-13 14:35:40 +00:00
Fixed uninitialized variable
This commit is contained in:
parent
bc87983310
commit
35c13196f0
|
@ -202,7 +202,7 @@ static SDL_bool SDL_GetDriverAndJoystickIndex(int device_index, SDL_JoystickDriv
|
||||||
|
|
||||||
static int SDL_FindFreePlayerIndex()
|
static int SDL_FindFreePlayerIndex()
|
||||||
{
|
{
|
||||||
int player_index;
|
int player_index = -1;
|
||||||
|
|
||||||
SDL_AssertJoysticksLocked();
|
SDL_AssertJoysticksLocked();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue