mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06: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:
parent
a3f3ab4c9c
commit
651d712452
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user