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

This commit is contained in:
Sylvain Becker
2023-11-11 10:29:05 +01:00
committed by GitHub
parent c29df1699e
commit f3419d8c04
37 changed files with 73 additions and 73 deletions

View File

@@ -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