Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[pvs] Expression 'req' is always true.
[simgrid.git] / src / mc / checker / CommunicationDeterminismChecker.cpp
index e90478f..4022f90 100644 (file)
@@ -297,8 +297,7 @@ std::vector<std::string> CommunicationDeterminismChecker::get_textual_trace() //
   std::vector<std::string> trace;
   for (auto const& state : stack_) {
     smx_simcall_t req = &state->executed_req_;
-    if (req)
-      trace.push_back(request_to_string(req, state->transition_.argument_, RequestType::executed));
+    trace.push_back(request_to_string(req, state->transition_.argument_, RequestType::executed));
   }
   return trace;
 }