From c0309a634efa4292f98bb73e7be6e5f573abe3cb Mon Sep 17 00:00:00 2001 From: Piotr Tworek Date: Wed, 28 Oct 2020 00:56:30 +0100 Subject: [PATCH] base: Silence unused arg warning in rpc_server.h The msg argument in Genode::Rpc_dispatcher::_read_arg is not used. GCC does not care about this, but clang does and prints a warning regaring this. Silence it by removing unused argument name. fixup! base: Silence unused arg warning in rpc_server.h --- repos/base/include/base/rpc_server.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repos/base/include/base/rpc_server.h b/repos/base/include/base/rpc_server.h index 0061645c8b..6749849d22 100644 --- a/repos/base/include/base/rpc_server.h +++ b/repos/base/include/base/rpc_server.h @@ -99,7 +99,7 @@ class Genode::Rpc_dispatcher : public RPC_INTERFACE } template - ARG _read_arg(Ipc_unmarshaller &msg, Rpc_arg_out) + ARG _read_arg(Ipc_unmarshaller &, Rpc_arg_out) { return ARG(); }