Fix cppcheck warnings

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Ibe6b12e81292c655f0ab1420159521c2e6991e37
diff --git a/message_parsers.cpp b/message_parsers.cpp
index e5e9721..d0fe344 100644
--- a/message_parsers.cpp
+++ b/message_parsers.cpp
@@ -133,8 +133,9 @@
     return message;
 }
 
-std::vector<uint8_t> flatten(const std::shared_ptr<Message>& outMessage,
-                             const std::shared_ptr<session::Session>& session)
+std::vector<uint8_t>
+    flatten(const std::shared_ptr<Message>& outMessage,
+            const std::shared_ptr<session::Session>& /* session */)
 {
     std::vector<uint8_t> packet(sizeof(SessionHeader_t));
 
@@ -316,7 +317,7 @@
 }
 
 bool verifyPacketIntegrity(const std::vector<uint8_t>& packet,
-                           const std::shared_ptr<Message>& message,
+                           const std::shared_ptr<Message>& /* message */,
                            size_t payloadLen,
                            const std::shared_ptr<session::Session>& session)
 {
@@ -369,7 +370,7 @@
 }
 
 void addIntegrityData(std::vector<uint8_t>& packet,
-                      const std::shared_ptr<Message>& message,
+                      const std::shared_ptr<Message>& /* message */,
                       size_t payloadLen,
                       const std::shared_ptr<session::Session>& session)
 {
@@ -394,7 +395,8 @@
 
 std::vector<uint8_t>
     decryptPayload(const std::vector<uint8_t>& packet,
-                   const std::shared_ptr<Message>& message, size_t payloadLen,
+                   const std::shared_ptr<Message>& /* message */,
+                   size_t payloadLen,
                    const std::shared_ptr<session::Session>& session)
 {
     return session->getCryptAlgo()->decryptPayload(