]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Remove unused variables. occ/eliminateWarnings
authorArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Sun, 17 May 2020 19:50:04 +0000 (22:50 +0300)
committerArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Sun, 17 May 2020 19:50:04 +0000 (22:50 +0300)
src/ModelAPI/ModelAPI_Feature.cpp

index 00a881fdb1054cef2cfe03ea990a287c63afe9a5..07f9ce6a0b0168caaa829574b094341eb81069b4 100644 (file)
@@ -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<ModelAPI_Result> aRes = *(myResults.begin());
     aRes->setDisabled(aRes, true); // to avoid activation of the Part result