From: henricasanova Date: Thu, 4 Jul 2019 14:07:30 +0000 (+0200) Subject: Removed unused variable warning X-Git-Tag: v3.23.2~14^2~1 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/3cb610f36fb05a653afd1500e7819fddfe18873f?hp=9a71c91bd3617da7496dbc1ed524f26e3155972b Removed unused variable warning --- diff --git a/MANIFEST.in b/MANIFEST.in index d2ec5879b5..d29c4d9582 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -543,6 +543,7 @@ include src/surf/cpu_cas01.cpp include src/surf/cpu_interface.cpp include src/surf/cpu_ti.cpp include src/surf/network_cm02.cpp +include src/surf/link_wifi.cpp include src/surf/network_constant.cpp include src/surf/network_interface.cpp include src/surf/PropertyHolder.cpp diff --git a/teshsuite/s4u/activity-lifecycle/activity-lifecycle.cpp b/teshsuite/s4u/activity-lifecycle/activity-lifecycle.cpp index 11feb0c401..70e0fc828d 100644 --- a/teshsuite/s4u/activity-lifecycle/activity-lifecycle.cpp +++ b/teshsuite/s4u/activity-lifecycle/activity-lifecycle.cpp @@ -482,7 +482,7 @@ static void test_link_off_during_wait_any() const double start = simgrid::s4u::Engine::get_clock(); simgrid::s4u::ActorPtr receiver = simgrid::s4u::Actor::create("receiver", all_hosts[1], [&start]() { - assert_exit(false, 2); + assert_exit(false, start + 2); bool receiver_got_network_failure_execution = false; bool receiver_got_base_execution = false; int *data; @@ -503,7 +503,7 @@ static void test_link_off_during_wait_any() }); simgrid::s4u::ActorPtr sender = simgrid::s4u::Actor::create("sender", all_hosts[2], [&start]() { - assert_exit(false, 2); + assert_exit(false, start + 2); int data = 42; bool sender_got_network_failure_execution = false; bool sender_got_base_execution = false;