From a2d5dd0234b19b230bbf77a82fe0aaed4ae601aa Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 7 Jul 2014 13:19:53 -0700 Subject: [PATCH] Removed useless assert --- src/joystick/windows/SDL_xinputjoystick.c | 1 - 1 file changed, 1 deletion(-) 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;