diff options
author | Ed Tanous <edtanous@google.com> | 2022-01-25 20:56:04 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2022-02-07 19:41:37 +0300 |
commit | 104f09c95af2b3068e7afd655e4cebcad2bf0617 (patch) | |
tree | 87ed9227d3214a52de4620b24821989393d2efe5 /redfish-core/lib/bios.hpp | |
parent | 50b8a43af501412f93a93ccce34a9ea7abb6d57f (diff) | |
download | bmcweb-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/bios.hpp')
-rw-r--r-- | redfish-core/lib/bios.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redfish-core/lib/bios.hpp b/redfish-core/lib/bios.hpp index c2fb2844f1..d8475aec1f 100644 --- a/redfish-core/lib/bios.hpp +++ b/redfish-core/lib/bios.hpp @@ -9,7 +9,7 @@ namespace redfish * BiosService class supports handle get method for bios. */ inline void - handleBiosServiceGet(const crow::Request&, + handleBiosServiceGet(const crow::Request& /*req*/, const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) { asyncResp->res.jsonValue["@odata.id"] = "/redfish/v1/Systems/system/Bios"; @@ -39,7 +39,7 @@ inline void requestRoutesBiosService(App& app) * Analyzes POST body message before sends Reset request data to D-Bus. */ inline void - handleBiosResetPost(const crow::Request&, + handleBiosResetPost(const crow::Request& /*req*/, const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) { crow::connections::systemBus->async_method_call( |