mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-25 00:35:44 +00:00
Re-add SDL_assert() with non boolean ptr syntax (#8531)
This commit is contained in:
@@ -735,7 +735,7 @@ static void add_device(const int iscapture, const char *name, void *hint, ALSA_D
|
||||
desc = (char *)name;
|
||||
}
|
||||
|
||||
SDL_assert(name);
|
||||
SDL_assert(name != NULL);
|
||||
|
||||
/* some strings have newlines, like "HDA NVidia, HDMI 0\nHDMI Audio Output".
|
||||
just chop the extra lines off, this seems to get a reasonable device
|
||||
|
||||
Reference in New Issue
Block a user