Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : missing #ifdef
authorMarion Guthmuller <marion.guthmuller@loria.fr>
Thu, 13 Jun 2013 10:08:21 +0000 (12:08 +0200)
committerMarion Guthmuller <marion.guthmuller@loria.fr>
Thu, 13 Jun 2013 10:08:21 +0000 (12:08 +0200)
src/simix/smx_network.c

index 2c0e3a1..3be4eb5 100644 (file)
@@ -199,7 +199,9 @@ smx_action_t SIMIX_fifo_get_comm(xbt_fifo_t fifo, e_smx_comm_type_t type,
       xbt_fifo_remove_item(fifo, item);
       xbt_fifo_free_item(item);
       action->comm.refcount++;
       xbt_fifo_remove_item(fifo, item);
       xbt_fifo_free_item(item);
       action->comm.refcount++;
+#ifdef HAVE_MC
       action->comm.rdv_cpy = action->comm.rdv;
       action->comm.rdv_cpy = action->comm.rdv;
+#endif
       action->comm.rdv = NULL;
       return action;
     }
       action->comm.rdv = NULL;
       return action;
     }