diff --git a/src/joystick/windows/SDL_xinputjoystick.c b/src/joystick/windows/SDL_xinputjoystick.c index 2d507e7ff..12bf98855 100644 --- a/src/joystick/windows/SDL_xinputjoystick.c +++ b/src/joystick/windows/SDL_xinputjoystick.c @@ -196,7 +196,6 @@ SDL_XINPUT_JoystickOpen(SDL_Joystick * joystick, JoyStick_DeviceData *joystickde SDL_assert(s_bXInputEnabled); SDL_assert(XINPUTGETCAPABILITIES); SDL_assert(XINPUTSETSTATE); - SDL_assert(userId >= 0); SDL_assert(userId < XUSER_MAX_COUNT); joystick->hwdata->bXInputDevice = SDL_TRUE;