]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Fix build when configuring with polkit0
authorJim Fehlig <jfehlig@suse.com>
Mon, 21 May 2012 15:23:41 +0000 (09:23 -0600)
committerCole Robinson <crobinso@redhat.com>
Thu, 14 Jun 2012 22:22:51 +0000 (18:22 -0400)
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

index b71ffa2a1d593fce2f45d668b635fdcbf7e226cd..74811a4ea37d38931acfd850d0976607940c8cc1 100644 (file)
@@ -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,