Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove unused variable
authorAdrien Gougeon <adrien.gougeon@ens-rennes.fr>
Mon, 2 Oct 2023 14:22:11 +0000 (16:22 +0200)
committerAdrien Gougeon <adrien.gougeon@ens-rennes.fr>
Mon, 2 Oct 2023 14:22:11 +0000 (16:22 +0200)
examples/cpp/task-switch-host/s4u-task-switch-host.cpp

index 6f8c62b..c236bdb 100644 (file)
@@ -61,7 +61,7 @@ int main(int argc, char* argv[])
     count++;
   });
 
-  comm0->on_this_completion_cb([&comm0, exec1, exec2, jupiter, fafard](const sg4::Task*) {
+  comm0->on_this_completion_cb([&comm0, exec1, exec2](const sg4::Task*) {
     static int count = 0;
     if (count % 2 == 0) {
       comm0->add_successor(exec1);