]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Model/Model_ResultPart.cpp
Salome HOME
Get rid of compilation warnings. Part I.
[modules/shaper.git] / src / Model / Model_ResultPart.cpp
index cd3997aca18d7403b857ba48031da2cead5b28de..044893237ec599e8bef4d356bc5b6b0f19da9d8c 100644 (file)
@@ -290,7 +290,7 @@ std::string Model_ResultPart::nameInPart(const std::shared_ptr<GeomAPI_Shape>& t
   std::shared_ptr<Model_Document> aDoc = std::dynamic_pointer_cast<Model_Document>(partDoc());
   if (!aDoc.get()) // the part document is not presented for the moment
     return "";
-  TDF_Label anAccessLabel = aDoc->generalLabel();
+  MAYBE_UNUSED TDF_Label anAccessLabel = aDoc->generalLabel();
   // make the selection attribute anyway:
   // otherwise just by name it is not stable to search the result
   std::string aName;