clean up unused parameter warnings
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I2275db73fbec06dffe4120b50e0816c110f4f358
diff --git a/ipmbbridged.cpp b/ipmbbridged.cpp
index 5b22a7a..eed991f 100644
--- a/ipmbbridged.cpp
+++ b/ipmbbridged.cpp
@@ -266,10 +266,10 @@
uint8_t targetAddr = ipmbIsResponse(&(ipmbPkt->hdr))
? ipmbPkt->hdr.Header.Resp.address
: ipmbPkt->hdr.Header.Req.address;
- boost::asio::async_write(
- i2cSlaveDescriptor, boost::asio::buffer(*buffer),
- [this, buffer, retriesAttempted,
- targetAddr](const boost::system::error_code& ec, size_t bytesSent) {
+ boost::asio::async_write(i2cSlaveDescriptor, boost::asio::buffer(*buffer),
+ [this, buffer, retriesAttempted,
+ targetAddr](const boost::system::error_code& ec,
+ size_t /* bytesSent */) {
if (ec)
{
size_t currentRetryCnt = retriesAttempted;
@@ -289,7 +289,7 @@
currentRetryCnt++;
ipmbSendI2cFrame(buffer, currentRetryCnt);
}
- });
+ });
}
/**
@@ -986,7 +986,7 @@
/**
* @brief Main
*/
-int main(int argc, char* argv[])
+int main()
{
conn->request_name(ipmbBus);