Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simcall_mutex_unlock is back but keep the simplification of another
[simgrid.git] / src / simix / smx_host.cpp
index 268d3c7..3fb82a4 100644 (file)
@@ -32,9 +32,8 @@ namespace simgrid {
         std::string msg     = std::string("Shutting down host, but it's not empty:");
         smx_actor_t process = nullptr;
 
-        xbt_swag_foreach(process, process_list) {
-          msg = msg + "\n\t" + process->name.c_str();
-        }
+        xbt_swag_foreach(process, process_list) msg = msg + "\n\t" + process->name.c_str();
+
         SIMIX_display_process_status();
         THROWF(arg_error, 0, "%s", msg.c_str());
       }