Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Unused parameter.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 19 Mar 2019 09:27:36 +0000 (10:27 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 19 Mar 2019 09:27:36 +0000 (10:27 +0100)
teshsuite/s4u/activity-lifecycle/activity-lifecycle.cpp

index 61891bb..91d3c87 100644 (file)
@@ -351,8 +351,8 @@ static void test_host_off_while_receive()
        returned_from_main = true;
      });
 
        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], 
     []() {
   simgrid::s4u::ActorPtr sender = simgrid::s4u::Actor::create(
     "sender", all_hosts[2], 
     []() {