summaryrefslogtreecommitdiff
path: root/redfish-core/lib/telemetry_service.hpp
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2022-01-25 20:56:04 +0300
committerEd Tanous <ed@tanous.net>2022-02-07 19:41:37 +0300
commit104f09c95af2b3068e7afd655e4cebcad2bf0617 (patch)
tree87ed9227d3214a52de4620b24821989393d2efe5 /redfish-core/lib/telemetry_service.hpp
parent50b8a43af501412f93a93ccce34a9ea7abb6d57f (diff)
downloadbmcweb-104f09c95af2b3068e7afd655e4cebcad2bf0617.tar.xz
Enable readability-named-parameter checks
We don't have too many violations here, probably because we don't have many optional parameters. Fix the existing instances, and enable the check. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I4d512f0ec90b060fb60a42fe3cd6ba72fb6c6bcb
Diffstat (limited to 'redfish-core/lib/telemetry_service.hpp')
-rw-r--r--redfish-core/lib/telemetry_service.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/redfish-core/lib/telemetry_service.hpp b/redfish-core/lib/telemetry_service.hpp
index c3082d7a01..5457530fbd 100644
--- a/redfish-core/lib/telemetry_service.hpp
+++ b/redfish-core/lib/telemetry_service.hpp
@@ -10,7 +10,8 @@ namespace redfish
{
inline void handleTelemetryServiceGet(
- const crow::Request&, const std::shared_ptr<bmcweb::AsyncResp>& asyncResp)
+ const crow::Request& /*req*/,
+ const std::shared_ptr<bmcweb::AsyncResp>& asyncResp)
{
asyncResp->res.jsonValue["@odata.type"] =
"#TelemetryService.v1_2_1.TelemetryService";