]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/PrimitivesPlugin/PrimitivesPlugin_Tube.cpp
Salome HOME
updated copyright message
[modules/shaper.git] / src / PrimitivesPlugin / PrimitivesPlugin_Tube.cpp
index d9a90d9ff403bfd8d60030b9cf1cea13b500ce93..5c01c03c6f89d4e939431e193446c8fa4ae0dbcd 100644 (file)
@@ -1,3 +1,8 @@
+// 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
+// License as published by the Free Software Foundation; either
 // version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
@@ -66,7 +71,6 @@ void PrimitivesPlugin_Tube::loadNamingDS(std::shared_ptr<GeomAlgoAPI_Tube> theTu
   theTubeAlgo->prepareNamingFaces();
 
   // Insert to faces
-  int num = 1;
   std::map< std::string, std::shared_ptr<GeomAPI_Shape> > listOfFaces =
     theTubeAlgo->getCreatedFaces();
   for (std::map< std::string, std::shared_ptr<GeomAPI_Shape> >::iterator it = listOfFaces.begin();