diff --git a/test/testaudioinfo.c b/test/testaudioinfo.c index 340aac685..9e3bfcdf7 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;