X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d20f024dba9ff1e9c8822237caaf963b9e913889..eee1d85829668c4689d67118f4d6483dc02bb7ea:/src/mc/mc_base.cpp diff --git a/src/mc/mc_base.cpp b/src/mc/mc_base.cpp index dbafa01632..429a995061 100644 --- a/src/mc/mc_base.cpp +++ b/src/mc/mc_base.cpp @@ -111,8 +111,7 @@ bool actor_is_enabled(smx_actor_t actor) if (mutex->owner == nullptr) return true; - else - return mutex->owner->pid == req->issuer->pid; + return mutex->owner->pid == req->issuer->pid; } case SIMCALL_SEM_ACQUIRE: {