]> xenbits.xensource.com Git - 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)
committerJim Fehlig <jfehlig@suse.com>
Mon, 21 May 2012 15:23:41 +0000 (09:23 -0600)
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.

daemon/remote.c

index 16a8a0579602e1be8af7b9c2ce0786a9d729686e..a02c09b29c3ad19533f9b0eaa621535646fb80ea 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,