asio: object_server: remove unused variable
Reported by clang:
../subprojects/sdbusplus/include/sdbusplus/asio/object_server.hpp:245:33: error: unused parameter 'm' [-Werror,-Wunused-parameter]
callFunction(message_t& m, InputTupleType& inputArgs)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I1a53b0aef444d80f1b1f4af6192d59ccd0381aaf
diff --git a/include/sdbusplus/asio/object_server.hpp b/include/sdbusplus/asio/object_server.hpp
index ac1c83a..456ba4d 100644
--- a/include/sdbusplus/asio/object_server.hpp
+++ b/include/sdbusplus/asio/object_server.hpp
@@ -242,7 +242,7 @@
}
template <typename T>
std::enable_if_t<std::is_void_v<T>, void>
- callFunction(message_t& m, InputTupleType& inputArgs)
+ callFunction(message_t&, InputTupleType& inputArgs)
{
std::apply(func_, inputArgs);
}