From 33266b5538bcd1a3a07c20dea720ae2a21c3c90f Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Mon, 28 Feb 2022 12:21:39 +0100 Subject: [PATCH] Kill dead code. --- src/mc/mc_base.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/mc/mc_base.cpp b/src/mc/mc_base.cpp index 6ffa2c5051..c6072eac26 100644 --- a/src/mc/mc_base.cpp +++ b/src/mc/mc_base.cpp @@ -80,14 +80,9 @@ void execute_actors() // Called from both MCer and MCed: bool actor_is_enabled(smx_actor_t actor) { -// #del #if SIMGRID_HAVE_MC - // If in the MCer, ask the client app since it has all the data - if (mc_model_checker != nullptr) { - return simgrid::mc::session_singleton->actor_is_enabled(actor->get_pid()); - } + xbt_assert(mc_model_checker == nullptr, "This should be called from the client side"); #endif -// # // Now, we are in the client app, no need for remote memory reading. smx_simcall_t req = &actor->simcall_; -- 2.20.1