Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove a test that was indended to show that this branch is never used
[simgrid.git] / src / kernel / activity / ActivityImpl.cpp
index a81face..69a6936 100644 (file)
@@ -176,10 +176,6 @@ void ActivityImpl::wait_any_for(actor::ActorImpl* issuer, const std::vector<Acti
 
 void ActivityImpl::suspend()
 {
-  if (model_action_ == nullptr) {
-    XBT_CRITICAL("POUET");
-    return;
-  }
   XBT_VERB("This activity is suspended (remain: %f)", model_action_->get_remains());
   get_iface()->fire_on_suspend();
   get_iface()->fire_on_this_suspend();