testaudioinfo: Initialize deviceName unconditionally

This commit is contained in:
Ethan Lee 2022-09-29 11:36:07 -04:00 committed by GitHub
parent 1ea1a90edb
commit 0d6c4ff622
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +47,7 @@ print_devices(int iscapture)
int int
main(int argc, char **argv) main(int argc, char **argv)
{ {
char *deviceName; char *deviceName = NULL;
SDL_AudioSpec spec; SDL_AudioSpec spec;
int n; int n;