mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-30 15:08:31 +00:00
Fix uninitialised variable
This commit is contained in:

committed by
Sam Lantinga

parent
efed24850a
commit
a4f3905bb6
@@ -585,6 +585,7 @@ static SDL_bool ShouldAttemptSensorFusion(SDL_Joystick *joystick, SDL_bool *inve
|
||||
SDL_JoystickGUID guid;
|
||||
Uint16 vendor, product;
|
||||
SDL_bool enabled;
|
||||
SDL_zero(gamepads);
|
||||
|
||||
/* See if the gamepad is in our list of devices to enable */
|
||||
guid = SDL_GetJoystickGUID(joystick);
|
||||
|
Reference in New Issue
Block a user