X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/26af220e017a088b56105b2f21fadecf7d6e2a88..3120f4a0a622813c8a68043fe2b25ae0fb00af50:/src/mc/mc_request.cpp diff --git a/src/mc/mc_request.cpp b/src/mc/mc_request.cpp index c3de6850aa..4d0ebf46c1 100644 --- a/src/mc/mc_request.cpp +++ b/src/mc/mc_request.cpp @@ -232,7 +232,7 @@ static char *buff_size_to_string(size_t buff_size) char *MC_request_to_string(smx_simcall_t req, int value, e_mc_request_type_t request_type) { - bool use_remote_comm = false; + bool use_remote_comm = true; switch(request_type) { case MC_REQUEST_SIMIX: use_remote_comm = true; @@ -473,7 +473,7 @@ unsigned int MC_request_testany_fail(smx_simcall_t req) for (cursor=0; cursor != comms.used; ++cursor) { // Get the element: - smx_synchro_t remote_action; + smx_synchro_t remote_action = NULL; memcpy(&remote_action, buffer + comms.elmsize * cursor, sizeof(remote_action)); // Dereference the pointer: