From c82da0225387982c249a289ca5d621ea7a13689a Mon Sep 17 00:00:00 2001 From: Jim Fehlig Date: Mon, 21 May 2012 09:23:41 -0600 Subject: [PATCH] Fix build when configuring with polkit0 Commit 2223ea98 removed the only use of 'server' param in remoteDispatchAuthPolkit(). Mark the parameter with ATTRIBUTE_UNUSED to fix the build when configuring with polkit0. (cherry picked from commit 651d7124529b997031d525ea30bbee5d112c2e88) --- daemon/remote.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/remote.c b/daemon/remote.c index b71ffa2a1d..74811a4ea3 100644 --- a/daemon/remote.c +++ b/daemon/remote.c @@ -2653,7 +2653,7 @@ authdeny: } #elif HAVE_POLKIT0 static int -remoteDispatchAuthPolkit(virNetServerPtr server, +remoteDispatchAuthPolkit(virNetServerPtr server ATTRIBUTE_UNUSED, virNetServerClientPtr client, virNetMessagePtr msg ATTRIBUTE_UNUSED, virNetMessageErrorPtr rerr,