From: Artem Zhidkov Date: Sun, 17 May 2020 19:50:04 +0000 (+0300) Subject: Remove unused variables. X-Git-Tag: V9_5_0b1~2^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=54d696ae77064c22bfff54cdceca665e71555e24;p=modules%2Fshaper.git Remove unused variables. --- 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