Fix some warnings.

git-svn-id: svn://localhost/ardour2/branches/3.0@12048 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2012-04-20 23:34:15 +00:00
parent 9cc110f111
commit 9befa88deb
6 changed files with 15 additions and 8 deletions

View file

@ -834,7 +834,11 @@ RubberBandStretcher::Impl::study(const float *const *input, size_t samples, bool
// cd.accumulator is not otherwise used during studying,
// so we can use it as a temporary buffer here
#ifdef NDEBUG
inbuf.peek(cd.accumulator, m_windowSize);
#else
size_t got = inbuf.peek(cd.accumulator, m_windowSize);
#endif
assert(final || got == m_windowSize);
m_window->cut(cd.accumulator);