From 54d696ae77064c22bfff54cdceca665e71555e24 Mon Sep 17 00:00:00 2001 From: Artem Zhidkov Date: Sun, 17 May 2020 22:50:04 +0300 Subject: [PATCH] Remove unused variables. --- src/ModelAPI/ModelAPI_Feature.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/ModelAPI/ModelAPI_Feature.cpp b/src/ModelAPI/ModelAPI_Feature.cpp index 00a881fdb..07f9ce6a0 100644 --- a/src/ModelAPI/ModelAPI_Feature.cpp +++ b/src/ModelAPI/ModelAPI_Feature.cpp @@ -156,10 +156,6 @@ void ModelAPI_Feature::erase() document()->setCurrentFeatureUp(); } - static Events_Loop* aLoop = Events_Loop::loop(); - static Events_ID EVENT_DISP = aLoop->eventByName(EVENT_OBJECT_TO_REDISPLAY); - static const ModelAPI_EventCreator* aECreator = ModelAPI_EventCreator::get(); - while (!myResults.empty()) { // remove one by one with messages std::shared_ptr aRes = *(myResults.begin()); aRes->setDisabled(aRes, true); // to avoid activation of the Part result -- 2.39.2