mark unused parameter as unused
Mark unused parameter as unused.
Change-Id: Ibffc072351e3d1f871f7c1e774b1c380907ba6e4
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/main.cpp b/main.cpp
index 0f9bcad..985a83b 100644
--- a/main.cpp
+++ b/main.cpp
@@ -71,7 +71,8 @@
* @param[in,out] dataLen - The length of the request and reply.
* @return the IPMI result code.
*/
-static ipmi_ret_t HandleEthStatCommand(ipmi_cmd_t cmd, const uint8_t* reqBuf,
+static ipmi_ret_t HandleEthStatCommand(ipmi_cmd_t cmd __attribute__((unused)),
+ const uint8_t* reqBuf,
uint8_t* replyCmdBuf, size_t* dataLen)
{
auto reqLength = (*dataLen);