Various configure changes for MinGW (gps).
[rtaudio.git] / tests / testall.cpp
index 5efb0dd840468ba4d7584aaafc8ecee7a4c9a816..2eeb330d83f052efbc5d1df7ea885344724af623 100644 (file)
@@ -108,8 +108,7 @@ int main( int argc, char *argv[] )
   if ( argc > 4 )
     offset = (unsigned int) atoi( argv[4] );
 
-  double *data;
-  data = (double *) calloc( channels, sizeof( double ) );
+  double *data = (double *) calloc( channels, sizeof( double ) );
 
   // Let RtAudio print messages to stderr.
   dac.showWarnings( true );