summaryrefslogtreecommitdiff
path: root/include/nbd_proxy.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/nbd_proxy.hpp')
-rw-r--r--include/nbd_proxy.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/nbd_proxy.hpp b/include/nbd_proxy.hpp
index 462e4a7503..ee0d9cd557 100644
--- a/include/nbd_proxy.hpp
+++ b/include/nbd_proxy.hpp
@@ -89,7 +89,7 @@ struct NbdProxyServer : std::enable_shared_from_this<NbdProxyServer>
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 @@ void requestRoutes(App& app)
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