Skip to content

Commit 4c05067

Browse files
committed
maybe_unused_yes_it_is
1 parent 80a6d13 commit 4c05067

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/openmw/mwworld/scene.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ namespace MWWorld
457457
mPhysics->addHeightField(defaultHeight.data(), cellX, cellY, worldsize, verts,
458458
ESM::Land::DEFAULT_HEIGHT, ESM::Land::DEFAULT_HEIGHT, land.get());
459459
}
460-
if (const auto heightField = mPhysics->getHeightField(cellX, cellY))
460+
if ([[maybe_unused]] const auto heightField = mPhysics->getHeightField(cellX, cellY))
461461
{
462462
const osg::Vec2i cellPosition(cellX, cellY);
463463
const HeightfieldShape shape = [&]() -> HeightfieldShape {

0 commit comments

Comments
 (0)