1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-01-25 10:03:49 +03:00

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.
This commit is contained in:
Jim Fehlig 2012-05-21 09:23:41 -06:00
parent a3f3ab4c9c
commit 651d712452

View File

@ -2653,7 +2653,7 @@ authdeny:
} }
#elif HAVE_POLKIT0 #elif HAVE_POLKIT0
static int static int
remoteDispatchAuthPolkit(virNetServerPtr server, remoteDispatchAuthPolkit(virNetServerPtr server ATTRIBUTE_UNUSED,
virNetServerClientPtr client, virNetServerClientPtr client,
virNetMessagePtr msg ATTRIBUTE_UNUSED, virNetMessagePtr msg ATTRIBUTE_UNUSED,
virNetMessageErrorPtr rerr, virNetMessageErrorPtr rerr,