X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/93a112bc3b5933cdc80d562bd637223ba4c26f60..5e3e50f757f70251b3fdf0b6610fe65071dd0d5b:/src/surf/cpu_cas01.cpp diff --git a/src/surf/cpu_cas01.cpp b/src/surf/cpu_cas01.cpp index abc038568b..c746e9a836 100644 --- a/src/surf/cpu_cas01.cpp +++ b/src/surf/cpu_cas01.cpp @@ -384,9 +384,7 @@ CpuCas01Action::CpuCas01Action(ModelPtr model, double cost, bool failed, double lmm_variable_new(model->getMaxminSystem(), static_cast(this), 1.0, power, 1)) { - m_suspended = 0; /* Should be useless because of the - calloc but it seems to help valgrind... */ - + m_suspended = 0; if (model->getUpdateMechanism() == UM_LAZY) { m_indexHeap = -1; m_lastUpdate = surf_get_clock();