From 70e4035847341b5ab8161e5e2611bb2f40c7050d Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Thu, 28 Feb 2019 00:09:44 +0100 Subject: [PATCH] please sonar: don't declare an empty callback --- src/plugins/host_dvfs.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugins/host_dvfs.cpp b/src/plugins/host_dvfs.cpp index a48bfc90fb..370582d4ab 100644 --- a/src/plugins/host_dvfs.cpp +++ b/src/plugins/host_dvfs.cpp @@ -47,8 +47,7 @@ static simgrid::config::Flag static const int max_pstate_not_limited = -1; static simgrid::config::Flag 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 -- 2.20.1