From e37aee15d07b30ee26e97b490456cdc4a2eeef3d Mon Sep 17 00:00:00 2001 From: jfa Date: Thu, 5 Oct 2023 00:17:08 +0100 Subject: [PATCH] Remove unused variable --- src/FeaturesPlugin/FeaturesPlugin_BooleanFuse.cpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) 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 } } -- 2.39.2