]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Events/Events_Loop.cpp
Salome HOME
Get rid of compilation warnings. Part I.
[modules/shaper.git] / src / Events / Events_Loop.cpp
index c0934847c84fd4dcdbf9987983c3411e4fdaf913..b62b5694ae5f5216a9a120ed2ea9fffae34ce9c1 100644 (file)
@@ -200,9 +200,12 @@ void Events_Loop::flush(const Events_ID& theID)
       // TODO: Stabilization fix. Check later.
       if(myFlushed.find(theID.myID) != myFlushed.end()) {
         myFlushed.erase(myFlushed.find(theID.myID));
-      } else {
+      }
+#ifdef _DEBUG
+      else {
         bool aProblem = true;
       }
+#endif
     }
     // send accumulated messages to "groupListeners"
     std::map<char*, std::map<void*, std::list<Events_Listener*> > >::iterator aFindID =