X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f021475d9021fca0a6a72dd499aa1dc5dd1d2448..19b3962253112b19308537bc2400de141c119d99:/examples/s4u/actions-comm/s4u_actions-comm.cpp diff --git a/examples/s4u/actions-comm/s4u_actions-comm.cpp b/examples/s4u/actions-comm/s4u_actions-comm.cpp index d62c029e11..44b42d1b8c 100644 --- a/examples/s4u/actions-comm/s4u_actions-comm.cpp +++ b/examples/s4u/actions-comm/s4u_actions-comm.cpp @@ -85,8 +85,6 @@ public: int main(int argc, char *argv[]) { simgrid::s4u::Engine* e = new simgrid::s4u::Engine(&argc, argv); - /* Explicit initialization of the action module is required now*/ - simgrid::xbt::replay_init(); xbt_assert(argc > 2, "Usage: %s platform_file deployment_file [action_files]\n" "\t# if all actions are in the same file\n" @@ -106,7 +104,6 @@ int main(int argc, char *argv[]) xbt_replay_action_register("send", Replayer::send); xbt_replay_action_register("recv", Replayer::recv); - /* Actually do the simulation using MSG_action_trace_run */ if (argv[3]) { simgrid::xbt::action_fs = new std::ifstream(argv[3], std::ifstream::in); } @@ -120,7 +117,5 @@ int main(int argc, char *argv[]) XBT_INFO("Simulation time %g", e->getClock()); - simgrid::xbt::replay_exit(); /* Explicit finalization of the action module */ - return 0; }