Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : remove unnecessary take_snapshot for initial state
authorMarion Guthmuller <marion.guthmuller@loria.fr>
Fri, 6 Jul 2012 13:45:40 +0000 (15:45 +0200)
committerMarion Guthmuller <marion.guthmuller@loria.fr>
Tue, 10 Jul 2012 14:13:57 +0000 (16:13 +0200)
src/mc/mc_dpor.c

index ac40618..3c56d0d 100644 (file)
@@ -39,9 +39,6 @@ void MC_dpor_init()
     }
   }
 
-  initial_state->system_state = xbt_new0(s_mc_snapshot_t, 1);
-  MC_take_snapshot(initial_state->system_state);
-
   xbt_fifo_unshift(mc_stack_safety, initial_state);
 
   MC_UNSET_RAW_MEM;