Re-add SDL_assert() with non boolean ptr syntax (#8530)

This commit is contained in:
Sylvain Becker
2023-11-11 10:28:24 +01:00
committed by GitHub
parent b374105975
commit 04b6b2979f
35 changed files with 88 additions and 88 deletions

View File

@@ -499,7 +499,7 @@ static SDL_joylist_item *GetJoystickByDevIndex(int device_index)
}
while (device_index > 0) {
SDL_assert(item);
SDL_assert(item != NULL);
device_index--;
item = item->next;
}