From b382700ba89d18895cb3f3de07e884c1657ba516 Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Sun, 13 Nov 2022 10:08:45 +0000 Subject: [PATCH] help.cpp: Fix unused variable warning --- Source/help.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/help.cpp b/Source/help.cpp index 181166b30..b860fafc4 100644 --- a/Source/help.cpp +++ b/Source/help.cpp @@ -143,7 +143,6 @@ void DrawHelpSlider(const Surface &out) { const Point uiPosition = GetUIRectangle().position; const int sliderXPos = ContentTextWidth + uiPosition.x + 36; - const Point sliderPosition = uiPosition; int sliderStart = uiPosition.y + HeaderHeight() + LineHeight() + 3; int sliderEnd = uiPosition.y + PaddingTop + PanelHeight - 12; ClxDraw(out, { sliderXPos, sliderStart }, (*pSTextSlidCels)[11]);