From 61704b5862e3cfd9bb452701f1e7d0363bbd9027 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 28 Dec 2023 15:21:49 -0800 Subject: [PATCH] Removed an assertion it's possible to hit --- test/testcontroller.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/testcontroller.c b/test/testcontroller.c index 74acff5f2d..8c360972da 100644 --- a/test/testcontroller.c +++ b/test/testcontroller.c @@ -967,8 +967,6 @@ static void HandleGamepadAdded(SDL_JoystickID id, SDL_bool verbose) int i; i = FindController(id); - - SDL_assert(i >= 0); if (i < 0) { return; }