X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomValidators%2FGeomValidators_ZeroOffset.cpp;h=8375e1ad57f9306e968325a1a552ce7655259e59;hb=refs%2Fheads%2FV9_11_BR;hp=37cbd0c9a8c465c77673b43b2efa5c5b7dd62c1e;hpb=50a8df0c6a66da8067b16155e5ae39f8f26a7ebc;p=modules%2Fshaper.git diff --git a/src/GeomValidators/GeomValidators_ZeroOffset.cpp b/src/GeomValidators/GeomValidators_ZeroOffset.cpp index 37cbd0c9a..8375e1ad5 100644 --- a/src/GeomValidators/GeomValidators_ZeroOffset.cpp +++ b/src/GeomValidators/GeomValidators_ZeroOffset.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2020 CEA/DEN, EDF R&D +// Copyright (C) 2014-2023 CEA, EDF // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -46,7 +46,7 @@ bool GeomValidators_ZeroOffset::isValid(const std::shared_ptr& } // LCOV_EXCL_STOP - std::list::const_iterator anIt = theArguments.begin(), aLast = theArguments.end(); + std::list::const_iterator anIt = theArguments.begin(); std::string aSelectedMethod; if(theFeature->string(*anIt)) { @@ -137,8 +137,8 @@ bool GeomValidators_ZeroOffset::isValid(const std::shared_ptr& aToShape = anAttrSel->context()->shape(); } if (aToShape->isCompound()) { - GeomAPI_ShapeIterator anIt(aToShape); - aToShape = anIt.current(); + GeomAPI_ShapeIterator aSIt(aToShape); + aToShape = aSIt.current(); } } anIt++; @@ -156,8 +156,8 @@ bool GeomValidators_ZeroOffset::isValid(const std::shared_ptr& aFromShape = anAttrSel->context()->shape(); } if (aFromShape->isCompound()) { - GeomAPI_ShapeIterator anIt(aFromShape); - aFromShape = anIt.current(); + GeomAPI_ShapeIterator aSIt(aFromShape); + aFromShape = aSIt.current(); } } anIt++;