Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Remove useless condition check
authorGabriel Corona <gabriel.corona@loria.fr>
Mon, 1 Dec 2014 12:17:59 +0000 (13:17 +0100)
committerGabriel Corona <gabriel.corona@loria.fr>
Mon, 1 Dec 2014 12:17:59 +0000 (13:17 +0100)
src/mc/mc_global.c

index 1faf927..4614ac9 100644 (file)
@@ -190,10 +190,7 @@ void MC_init()
     MC_ignore_global_variable("communications_pattern");
     MC_ignore_global_variable("initial_communications_pattern");
     MC_ignore_global_variable("incomplete_communications_pattern");
-
-    if (MC_is_active()) {
-      MC_ignore_global_variable("mc_diff_info");
-    }
+    MC_ignore_global_variable("mc_diff_info");
 
     MC_ignore_heap(mc_time, simix_process_maxpid * sizeof(double));