From 0837a6364d85fc2b057d14b3548d7d7b644adab3 Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 6 Nov 2023 20:30:20 +0400 Subject: [PATCH] Fix build with GCC. --- ui/text/text.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/ui/text/text.cpp b/ui/text/text.cpp index f288572..95f10cb 100644 --- a/ui/text/text.cpp +++ b/ui/text/text.cpp @@ -937,7 +937,6 @@ void String::enumerateLines( lineWidth = line.width; lineElided = line.elided; if (quote && quote->maxWidth < lineWidth) { - const auto delta = lineWidth - quote->maxWidth; lineWidth = quote->maxWidth; } widthLeft = lineWidth - qpadding.left() - qpadding.right();