diff --git a/src/sdl/i_system.c b/src/sdl/i_system.c index 391cd215d..494c4180c 100644 --- a/src/sdl/i_system.c +++ b/src/sdl/i_system.c @@ -1491,7 +1491,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; @@ -1509,7 +1509,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;