Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : set comm to NULL before creating them with simcall (MC compliant)
[simgrid.git] / src / msg / msg_mailbox.c
index 907ecdf..8f543a8 100644 (file)
@@ -240,7 +240,8 @@ MSG_mailbox_put_with_timeout(msg_mailbox_t mailbox, msg_task_t task,
 
   /* Try to send it by calling SIMIX network layer */
   TRY {
-      smx_action_t comm = simcall_comm_isend(mailbox, t_simdata->message_size,
+    smx_action_t comm = NULL;
+    comm = simcall_comm_isend(mailbox, t_simdata->message_size,
                                   t_simdata->rate, task, sizeof(void *),
                                   NULL, NULL, task, 0);
 #ifdef HAVE_TRACING