Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix warning about clobbered variable.
[simgrid.git] / src / msg / msg_mailbox.c
index 0990c45..e25051c 100644 (file)
@@ -79,7 +79,7 @@ MSG_mailbox_get_task_ext(msg_mailbox_t mailbox, m_task_t * task,
   CHECK_HOST();
 #ifdef HAVE_TRACING
   TRACE_msg_task_get_start();
   CHECK_HOST();
 #ifdef HAVE_TRACING
   TRACE_msg_task_get_start();
-  double start_time = MSG_get_clock();
+  volatile double start_time = MSG_get_clock();
 #endif
 
   /* Sanity check */
 #endif
 
   /* Sanity check */