diff --git a/src/waveform/renderers/allshader/digitsrenderer.cpp b/src/waveform/renderers/allshader/digitsrenderer.cpp index caafd700977..e95df485714 100644 --- a/src/waveform/renderers/allshader/digitsrenderer.cpp +++ b/src/waveform/renderers/allshader/digitsrenderer.cpp @@ -206,7 +206,6 @@ void allshader::DigitsRenderer::updateTexture( } float allshader::DigitsRenderer::textWidth(const QString& s) const { - const int n = s.length(); const float space = static_cast(m_penWidth) / 2; float x = 0;