From d1abf7421e90e532d484be3e71a6db8b5ae53062 Mon Sep 17 00:00:00 2001 From: Hugo Date: Thu, 9 Jan 2025 08:33:57 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Frederick Roy --- .../src/sofa/component/mapping/nonlinear/RigidMapping.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sofa/Component/Mapping/NonLinear/src/sofa/component/mapping/nonlinear/RigidMapping.inl b/Sofa/Component/Mapping/NonLinear/src/sofa/component/mapping/nonlinear/RigidMapping.inl index 5ee57a189c2..195d6803c96 100644 --- a/Sofa/Component/Mapping/NonLinear/src/sofa/component/mapping/nonlinear/RigidMapping.inl +++ b/Sofa/Component/Mapping/NonLinear/src/sofa/component/mapping/nonlinear/RigidMapping.inl @@ -775,7 +775,7 @@ void RigidMapping::draw(const core::visual::VisualParams* vparams) if (!vparams->displayFlags().getShowMappings() || !this->toModel ) return; - const auto stateLifeCycle = vparams->drawTool()->makeStateLifeCycle(); + [[maybe_unused]] const auto stateLifeCycle = vparams->drawTool()->makeStateLifeCycle(); std::vector points; type::Vec3 point;