diff --git a/src/sdl/i_system.c b/src/sdl/i_system.c index 931de4b8f..7c573229b 100644 --- a/src/sdl/i_system.c +++ b/src/sdl/i_system.c @@ -1498,7 +1498,7 @@ const char *I_GetJoyName(INT32 joyindex) void I_GamepadRumble(INT32 playernum, UINT16 low_strength, UINT16 high_strength, UINT32 duration) { #if !(SDL_VERSION_ATLEAST(2,0,14)) - (void)device_id; + (void)playernum; (void)low_strength; (void)high_strength; (void)duration; @@ -1516,7 +1516,7 @@ void I_GamepadRumble(INT32 playernum, UINT16 low_strength, UINT16 high_strength, void I_SetGamepadIndicatorColor(INT32 playernum, UINT8 red, UINT8 green, UINT8 blue) { #if !(SDL_VERSION_ATLEAST(2,0,14)) - (void)device_id; + (void)playernum; (void)red; (void)green; (void)blue;