From: jfa Date: Wed, 4 Oct 2023 23:17:08 +0000 (+0100) Subject: Remove unused variable X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fjfa%2F37570_attributes_order;p=modules%2Fshaper.git Remove unused variable --- diff --git a/src/FeaturesPlugin/FeaturesPlugin_BooleanFuse.cpp b/src/FeaturesPlugin/FeaturesPlugin_BooleanFuse.cpp index 7a2fab792..6b19e7e5c 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_BooleanFuse.cpp +++ b/src/FeaturesPlugin/FeaturesPlugin_BooleanFuse.cpp @@ -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 - (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 - (data()->addAttribute(REMOVE_INTERSECTION_EDGES_ID(), - ModelAPI_AttributeBoolean::typeId(), - 6)); // #6 + data()->addAttribute(REMOVE_INTERSECTION_EDGES_ID(), + ModelAPI_AttributeBoolean::typeId(), + 6); // #6 } }