From 629288f1290dda6175a2a7d8939fa3fb1db6e0e3 Mon Sep 17 00:00:00 2001 From: m0dB Date: Sat, 2 Nov 2024 23:56:53 +0100 Subject: [PATCH] remove unused var --- src/waveform/renderers/allshader/digitsrenderer.cpp | 1 - 1 file changed, 1 deletion(-) 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;