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
1 changed files with 1 additions and 1 deletions

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;