Fix unused param errors
Unused param errors are throwing from this sources by the recent
CMake changes. Looks like CI build didn't catch these errors then.
Tested: Build is verified.
Signed-off-by: Vikram Bodireddy <vikram.bodireddy@linux.intel.com>
Change-Id: I139c01a78babc1c370c0c5de787291726ea42b53
diff --git a/include/nbd_proxy.hpp b/include/nbd_proxy.hpp
index 462e4a7..ee0d9cd 100644
--- a/include/nbd_proxy.hpp
+++ b/include/nbd_proxy.hpp
@@ -89,7 +89,7 @@
auto mountHandler = [this, self(shared_from_this())](
const boost::system::error_code ec,
- const bool status) {
+ const bool) {
if (ec)
{
BMCWEB_LOG_ERROR << "DBus error: cannot call mount method = "
@@ -433,7 +433,7 @@
session->second->close();
})
.onmessage([](crow::websocket::Connection& conn,
- const std::string& data, bool isBinary) {
+ const std::string& data, bool) {
BMCWEB_LOG_DEBUG << "nbd-proxy.onmessage(len = " << data.length()
<< ")";
// Acquire proxy from sessions