diff options
Diffstat (limited to 'examples/spectrum/app/waveform.cpp')
-rw-r--r-- | examples/spectrum/app/waveform.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/spectrum/app/waveform.cpp b/examples/spectrum/app/waveform.cpp index 420a01eb0..744c98063 100644 --- a/examples/spectrum/app/waveform.cpp +++ b/examples/spectrum/app/waveform.cpp @@ -393,6 +393,7 @@ void Waveform::paintTile(int index) const int offset = reinterpret_cast<const char*>(ptr) - m_buffer.constData(); Q_ASSERT(offset >= 0); Q_ASSERT(offset < m_bufferLength); + Q_UNUSED(offset); const qint16 pcmValue = *ptr; const qreal realValue = pcmToReal(pcmValue); |