Skip to content

Commit

Permalink
Fixed build warning
Browse files Browse the repository at this point in the history
(cherry picked from commit 5007b96)
  • Loading branch information
slouken committed May 29, 2023
1 parent 1da5b2e commit f74549e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/joystick/windows/SDL_rawinputjoystick.c
Original file line number Diff line number Diff line change
Expand Up @@ -1604,7 +1604,7 @@ static void RAWINPUT_UpdateOtherAPIs(SDL_Joystick *joystick)
if (!ctx->wgi_correlated) {
SDL_bool new_correlation_count = 0;
if (RAWINPUT_MissingWindowsGamingInputSlot()) {
Uint8 correlation_id;
Uint8 correlation_id = 0;
WindowsGamingInputGamepadState *slot_idx = NULL;
if (RAWINPUT_GuessWindowsGamingInputSlot(&match_state_xinput, &correlation_id, &slot_idx, xinput_correlated)) {
/* we match exactly one WindowsGamingInput device */
Expand Down

0 comments on commit f74549e

Please sign in to comment.