Skip to content

Commit ebadacf

Browse files
authored
Mark loop variable as unused
1 parent fa8bf40 commit ebadacf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libs/s25main/world/GameWorldView.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ void GameWorldView::DrawResource(const MapPoint& pt, DrawPoint curPos, const Che
611611

612612
if(auto* bm = LOADER.GetWareTex(gt))
613613
{
614-
for(auto i : helpers::range(amount))
614+
for([[maybe_unused]] const auto i : helpers::range(amount))
615615
{
616616
bm->DrawFull(curPos);
617617
curPos.y -= 4;

0 commit comments

Comments
 (0)