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

This commit is contained in:
Sylvain Becker authored and GitHub committed 2023-11-11 12:28:24 +03:00
1 parent b374105975
commit 04b6b2979f
35 files changed
+88 -88

No files matched your search

+1 -1
View File
@@ -59,7 +59,7 @@ static SDL_hapticlist_item *HapticByOrder(int index)
return NULL;
}
while (index > 0) {
SDL_assert(item);
SDL_assert(item != NULL);
--index;
item = item->next;
}