mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-20 03:25:18 +00: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. (cherry picked from commit 651d7124529b997031d525ea30bbee5d112c2e88)
This commit is contained in:
parent
50f508efca
commit
c82da02253
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user