From 746507d93cb9289402decfa7ffed666a4274ad16 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Wed, 31 Mar 2021 10:46:36 +0200 Subject: [PATCH] Unused variable. --- src/s4u/s4u_Host.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/s4u/s4u_Host.cpp b/src/s4u/s4u_Host.cpp index 2689b56341..3345eca816 100644 --- a/src/s4u/s4u_Host.cpp +++ b/src/s4u/s4u_Host.cpp @@ -279,7 +279,7 @@ Host* Host::set_pstate_speed(const std::vector& speed_per_state) try { double speed = xbt_parse_get_speed("", 0, speed_str.c_str(), nullptr, ""); speed_list.push_back(speed); - } catch (const simgrid::ParseError& e) { + } catch (const simgrid::ParseError&) { xbt_die("Host(%s): Impossible to set_pstate_speed, invalid speed %s", get_cname(), speed_str.c_str()); } } -- 2.20.1