Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
mc: simplification: do not repeat information in parameters
[simgrid.git] / src / mc / checker / SafetyChecker.cpp
index b37e2d8..faca5d2 100644 (file)
@@ -34,9 +34,7 @@ static int snapshot_compare(simgrid::mc::State* state1, simgrid::mc::State* stat
 {
   simgrid::mc::Snapshot* s1 = state1->system_state.get();
   simgrid::mc::Snapshot* s2 = state2->system_state.get();
-  int num1 = state1->num;
-  int num2 = state2->num;
-  return snapshot_compare(num1, s1, num2, s2);
+  return snapshot_compare(s1, s2);
 }
 
 void SafetyChecker::checkNonTermination(simgrid::mc::State* current_state)