Removed an assertion it's possible to hit

This commit is contained in:
Sam Lantinga 2023-12-28 15:21:49 -08:00
parent c24b33d8d9
commit 61704b5862
1 changed files with 0 additions and 2 deletions

View File

@ -967,8 +967,6 @@ static void HandleGamepadAdded(SDL_JoystickID id, SDL_bool verbose)
int i; int i;
i = FindController(id); i = FindController(id);
SDL_assert(i >= 0);
if (i < 0) { if (i < 0) {
return; return;
} }