mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-02-18 01:18:22 +00:00
Fixed uninitialized variable
This commit is contained in:
@@ -202,7 +202,7 @@ static SDL_bool SDL_GetDriverAndJoystickIndex(int device_index, SDL_JoystickDriv
|
||||
|
||||
static int SDL_FindFreePlayerIndex()
|
||||
{
|
||||
int player_index;
|
||||
int player_index = -1;
|
||||
|
||||
SDL_AssertJoysticksLocked();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user