Commit a2d5dd0234b19b230bbf77a82fe0aaed4ae601aa

Sam Lantinga 2014-07-07T13:19:53

Removed useless assert

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/joystick/windows/SDL_xinputjoystick.c b/src/joystick/windows/SDL_xinputjoystick.c
index 2d507e7..12bf988 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;