testaudioinfo: Initialize deviceName unconditionally
diff --git a/test/testaudioinfo.c b/test/testaudioinfo.c
index 340aac6..9e3bfcd 100644
--- a/test/testaudioinfo.c
+++ b/test/testaudioinfo.c
@@ -47,7 +47,7 @@ print_devices(int iscapture)
int
main(int argc, char **argv)
{
- char *deviceName;
+ char *deviceName = NULL;
SDL_AudioSpec spec;
int n;