]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Remove unused variable jfa/37570_attributes_order 23/head
authorjfa <jfa@opencascade.com>
Wed, 4 Oct 2023 23:17:08 +0000 (00:17 +0100)
committerjfa <jfa@opencascade.com>
Wed, 4 Oct 2023 23:17:08 +0000 (00:17 +0100)
src/FeaturesPlugin/FeaturesPlugin_BooleanFuse.cpp

index 7a2fab792e4e89958478f6fe8888d3e32779da63..6b19e7e5c6a006cb37769d84ffe943b73f162ddf 100644 (file)
@@ -76,9 +76,8 @@ void FeaturesPlugin_BooleanFuse::initAttributes()
   data()->addAttribute(OBJECT_LIST_ID(), ModelAPI_AttributeSelectionList::typeId()); // #2
   data()->addAttribute(TOOL_LIST_ID(), ModelAPI_AttributeSelectionList::typeId()); // #3
 
-  AttributeBooleanPtr aREAttr = std::dynamic_pointer_cast<ModelAPI_AttributeBoolean>
-    (data()->addAttribute(REMOVE_INTERSECTION_EDGES_ID(),
-                          ModelAPI_AttributeBoolean::typeId())); // #4 ???
+  data()->addAttribute(REMOVE_INTERSECTION_EDGES_ID(),
+                       ModelAPI_AttributeBoolean::typeId()); // #4 ???
 
   AttributeBooleanPtr aUseFuzzyAttr; // #5 ???
   AttributeDoublePtr aValFuzzyAttr; // #6 ???
@@ -102,10 +101,9 @@ void FeaturesPlugin_BooleanFuse::initAttributes()
       (data()->addAttribute(FeaturesPlugin_Boolean::USE_FUZZY_ID(),
                             ModelAPI_AttributeBoolean::typeId(),
                             4)); // #4
-      aREAttr = std::dynamic_pointer_cast<ModelAPI_AttributeBoolean>
-        (data()->addAttribute(REMOVE_INTERSECTION_EDGES_ID(),
-                              ModelAPI_AttributeBoolean::typeId(),
-                              6)); // #6
+      data()->addAttribute(REMOVE_INTERSECTION_EDGES_ID(),
+                           ModelAPI_AttributeBoolean::typeId(),
+                           6); // #6
     }
   }