Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove unused variable
[simgrid.git] / 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);