Salome HOME
updated copyright message
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_CurveFitting.cpp
index f775679bda976b5196065188bf9c44dd19ed79d1..11d9ebafe0c84f805615552b4c6353acb081e1b0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2020  CEA/DEN, EDF R&D
+// Copyright (C) 2020-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
@@ -262,7 +262,7 @@ void SketchPlugin_CurveFitting::reorderPoints()
   // to keep mapping between points and attributes
   std::map<GeomPointPtr, std::pair<ObjectPtr, AttributePtr> > aMap;
   std::list<std::pair<ObjectPtr, AttributePtr> > aPointsList = aPointsAttr->list();
-  bool isPointAdded = aCoordinates.size() != aPointsList.size();
+
   std::list<GeomPointPtr>::iterator aCoordIt = aCoordinates.begin();
   std::list<std::pair<ObjectPtr, AttributePtr> >::iterator anAttrIt = aPointsList.begin();
   for (; aCoordIt != aCoordinates.end() && anAttrIt != aPointsList.end(); ++aCoordIt, ++anAttrIt)