summaryrefslogtreecommitdiff
path: root/tests/testall.cpp
diff options
context:
space:
mode:
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 );