mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-06 00:55:34 +02:00
Re-add SDL_assert() with non boolean ptr syntax (#8531)
This commit is contained in:
@@ -195,7 +195,7 @@ static SDL_hapticlist_item *HapticByDevIndex(int device_index)
|
||||
}
|
||||
|
||||
while (device_index > 0) {
|
||||
SDL_assert(item);
|
||||
SDL_assert(item != NULL);
|
||||
--device_index;
|
||||
item = item->next;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user