From: Arnaud Giersch Date: Tue, 19 Mar 2019 09:27:36 +0000 (+0100) Subject: Unused parameter. X-Git-Tag: v3_22~57 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/4b3053e9adc73bf918703f5946cdae2137dfa046?ds=sidebyside Unused parameter. --- diff --git a/teshsuite/s4u/activity-lifecycle/activity-lifecycle.cpp b/teshsuite/s4u/activity-lifecycle/activity-lifecycle.cpp index 61891bb49b..91d3c879ef 100644 --- a/teshsuite/s4u/activity-lifecycle/activity-lifecycle.cpp +++ b/teshsuite/s4u/activity-lifecycle/activity-lifecycle.cpp @@ -351,8 +351,8 @@ static void test_host_off_while_receive() returned_from_main = true; }); - receiver->on_exit([&in_on_exit](bool failed) { in_on_exit = true; }); - + receiver->on_exit([&in_on_exit](bool) { in_on_exit = true; }); + simgrid::s4u::ActorPtr sender = simgrid::s4u::Actor::create( "sender", all_hosts[2], []() {