From: Arnaud Giersch Date: Tue, 12 Sep 2017 20:22:53 +0000 (+0200) Subject: ContextBoost: useless initialization. X-Git-Tag: v3_17~133 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/cf6303302e4ae750bb31e4313d3a9d49cb994866 ContextBoost: useless initialization. --- diff --git a/src/kernel/context/ContextBoost.cpp b/src/kernel/context/ContextBoost.cpp index d36722c76b..fc36369b83 100644 --- a/src/kernel/context/ContextBoost.cpp +++ b/src/kernel/context/ContextBoost.cpp @@ -193,8 +193,8 @@ void BoostContext::resume() void BoostSerialContext::suspend() { /* determine the next context */ - BoostSerialContext* next_context = nullptr; - unsigned long int i = process_index_; + BoostSerialContext* next_context; + unsigned long int i = process_index_; process_index_++; if (i < simix_global->process_to_run.size()) {