From: Jim Fehlig Date: Mon, 21 May 2012 15:23:41 +0000 (-0600) Subject: Fix build when configuring with polkit0 X-Git-Tag: v0.9.13-rc1~234 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=651d7124529b997031d525ea30bbee5d112c2e88;p=thirdparty%2Flibvirt.git 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. --- diff --git a/daemon/remote.c b/daemon/remote.c index 16a8a05796..a02c09b29c 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,