summaryrefslogtreecommitdiff
path: root/test/resampler_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-01-28 22:52:13 +0000
committerCarl Hetherington <cth@carlh.net>2015-01-28 22:52:13 +0000
commita112eeb4d052b1212f94e95efd83a215213da691 (patch)
treecc023a901e0cbbd14e79a3ce084691fd9445c03a /test/resampler_test.cc
parenta76f484d1e5c6c44c8d2e4938340e8559b2ef65a (diff)
Small fixes and tidy-ups spotted by cppcheck.
Diffstat (limited to 'test/resampler_test.cc')
-rw-r--r--test/resampler_test.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/resampler_test.cc b/test/resampler_test.cc
index ffd636ac8..0fc05685b 100644
--- a/test/resampler_test.cc
+++ b/test/resampler_test.cc
@@ -35,8 +35,6 @@ resampler_test_one (int from, int to)
{
Resampler resamp (from, to, 1);
- int total_out = 0;
-
/* 3 hours */
int64_t const N = int64_t (from) * 60 * 60 * 3;
@@ -45,7 +43,6 @@ resampler_test_one (int from, int to)
shared_ptr<AudioBuffers> a (new AudioBuffers (1, 1000));
a->make_silent ();
shared_ptr<const AudioBuffers> r = resamp.run (a);
- total_out += r->frames ();
}
}