Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
please sonar: don't declare an empty callback
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Wed, 27 Feb 2019 23:09:44 +0000 (00:09 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Thu, 28 Feb 2019 00:38:45 +0000 (01:38 +0100)
src/plugins/host_dvfs.cpp

index a48bfc9..370582d 100644 (file)
@@ -47,8 +47,7 @@ static simgrid::config::Flag<int>
 static const int max_pstate_not_limited = -1;
 static simgrid::config::Flag<int>
     cfg_max_pstate("plugin/dvfs/max-pstate", {"plugin/dvfs/max_pstate"},
-                   "Which pstate is the maximum (and hence slowest) pstate for this governor?", max_pstate_not_limited,
-                   [](int) {});
+                   "Which pstate is the maximum (and hence slowest) pstate for this governor?", max_pstate_not_limited);
 
 /** @addtogroup SURF_plugin_load