From e849e1972a7b33aa47d7ec35420e66b7bca9ccba Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Sun, 11 Oct 2020 10:52:19 +0200 Subject: [PATCH] Unused parameter. --- src/plugins/link_energy_wifi.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/link_energy_wifi.cpp b/src/plugins/link_energy_wifi.cpp index 5bf8bce6f5..9a50b2e4f0 100644 --- a/src/plugins/link_energy_wifi.cpp +++ b/src/plugins/link_energy_wifi.cpp @@ -321,7 +321,8 @@ void sg_wifi_energy_plugin_init() }); simgrid::s4u::Link::on_communication_state_change.connect( - [](simgrid::kernel::resource::NetworkAction const& action, simgrid::kernel::resource::Action::State previous) { + [](simgrid::kernel::resource::NetworkAction const& action, + simgrid::kernel::resource::Action::State /* previous */) { // update WiFi links encountered during the communication for (simgrid::kernel::resource::LinkImpl* link : action.get_links()) { if (link != nullptr && link->get_sharing_policy() == simgrid::s4u::Link::SharingPolicy::WIFI) { -- 2.20.1