Salome HOME
Get rid of compilation warnings. Part I.
[modules/shaper.git] / src / Model / Model_ResultConstruction.cpp
index 87f3ec6b859d8b156509aa3d960bf673489d60e2..ee7f404a77be627c11f841cfe2ca9d4a59d3b268 100644 (file)
@@ -440,7 +440,6 @@ void storeFacesOnLabel(std::shared_ptr<Model_Document>& theDocument,
   aBuilder.Generated(theShape);
   theDocument->addNamingName(theShapeLabel, theName);
   // set new faces to the labels
-  int aCurrentTag = 1;
   NCollection_List<TopoDS_Face>::Iterator anUnordered(theUnorderedFaces);
   for (int aCurrentTag = 1; !theFacesOrder.IsEmpty() || anUnordered.More(); aCurrentTag++) {
     TopoDS_Face aFaceToPut;