From: Arnaud Giersch Date: Wed, 31 Mar 2021 08:46:36 +0000 (+0200) Subject: Unused variable. X-Git-Tag: v3.28~501 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/746507d93cb9289402decfa7ffed666a4274ad16 Unused variable. --- 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()); } }