Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : remove useless if
authorMarion Guthmuller <marion.guthmuller@loria.fr>
Fri, 31 May 2013 21:38:26 +0000 (23:38 +0200)
committerMarion Guthmuller <marion.guthmuller@loria.fr>
Fri, 31 May 2013 21:38:26 +0000 (23:38 +0200)
src/mc/mc_liveness.c

index 47849d6..3e5b2dd 100644 (file)
@@ -911,8 +911,7 @@ void MC_ddfs(){
 
   
   MC_SET_RAW_MEM;
-  if(prop_values != NULL)
-    xbt_dynar_free(&prop_values);
+  xbt_dynar_free(&prop_values);
   current_pair = xbt_fifo_shift(mc_stack_liveness);
   current_pair->stack_removed = 1;
   if((current_pair->automaton_state->type == 1) || (current_pair->automaton_state->type == 2)){