Fix cppcheck warnings
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Ibe6b12e81292c655f0ab1420159521c2e6991e37
diff --git a/command/channel_auth.cpp b/command/channel_auth.cpp
index e83ad95..8368412 100644
--- a/command/channel_auth.cpp
+++ b/command/channel_auth.cpp
@@ -24,7 +24,7 @@
std::vector<uint8_t>
GetChannelCapabilities(const std::vector<uint8_t>& inPayload,
- std::shared_ptr<message::Handler>& handler)
+ std::shared_ptr<message::Handler>& /* handler */)
{
auto request =
reinterpret_cast<const GetChannelCapabilitiesReq*>(inPayload.data());
@@ -183,7 +183,7 @@
**/
std::vector<uint8_t>
getChannelCipherSuites(const std::vector<uint8_t>& inPayload,
- std::shared_ptr<message::Handler>& handler)
+ std::shared_ptr<message::Handler>& /* handler */)
{
const auto errorResponse = [](uint8_t cc) {
std::vector<uint8_t> rsp(1);