summaryrefslogtreecommitdiff
path: root/tests/testall.cpp
diff options
context:
space:
mode:
authorGary Scavone <gary@music.mcgill.ca>2007-12-04 20:09:57 +0000
committerStephen Sinclair <sinclair@music.mcgill.ca>2013-10-11 01:31:24 +0200
commitf6708f5edc4719fdc5a54cfcb11159d197dd6dcd (patch)
tree969690e2556b0d2429bcdf4aa0166961f597b524 /tests/testall.cpp
parent1e492d19f956d99e3315a3600170d6f1d9869cab (diff)
Various configure changes for MinGW (gps).
Diffstat (limited to 'tests/testall.cpp')
-rw-r--r--tests/testall.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/testall.cpp b/tests/testall.cpp
index 5efb0dd..2eeb330 100644
--- a/tests/testall.cpp
+++ b/tests/testall.cpp
@@ -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 );