Fix build with GCC.

This commit is contained in:
John Preston 2023-11-06 20:30:20 +04:00
parent f59c13455c
commit 0837a6364d

View file

@ -937,7 +937,6 @@ void String::enumerateLines(
lineWidth = line.width; lineWidth = line.width;
lineElided = line.elided; lineElided = line.elided;
if (quote && quote->maxWidth < lineWidth) { if (quote && quote->maxWidth < lineWidth) {
const auto delta = lineWidth - quote->maxWidth;
lineWidth = quote->maxWidth; lineWidth = quote->maxWidth;
} }
widthLeft = lineWidth - qpadding.left() - qpadding.right(); widthLeft = lineWidth - qpadding.left() - qpadding.right();