X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2aaa919aa7451546f9576b3a71fc41f896c24b31..366ab202c53bb6be55740e3c85f810d1f1468de1:/examples/msg/chainsend/common.c diff --git a/examples/msg/chainsend/common.c b/examples/msg/chainsend/common.c index eefb02d0a1..37f2b74cb8 100644 --- a/examples/msg/chainsend/common.c +++ b/examples/msg/chainsend/common.c @@ -1,10 +1,5 @@ #include "common.h" -inline void queue_pending_connection(msg_comm_t comm, xbt_dynar_t q) -{ - xbt_dynar_push(q, &comm); -} - int process_pending_connections(xbt_dynar_t q) { unsigned int iter; @@ -17,7 +12,7 @@ int process_pending_connections(xbt_dynar_t q) if (MSG_comm_test(comm)) { MSG_comm_destroy(comm); status = MSG_comm_get_status(comm); - xbt_assert(status == MSG_OK, __FILE__ ": process_pending_connections() failed"); + xbt_assert(status == MSG_OK, "process_pending_connections() failed"); xbt_dynar_cursor_rm(q, &iter); empty = 0; }