From cf6303302e4ae750bb31e4313d3a9d49cb994866 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 12 Sep 2017 22:22:53 +0200 Subject: [PATCH] ContextBoost: useless initialization. --- src/kernel/context/ContextBoost.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()) { -- 2.20.1