mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
util: Fix build without polkit
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
4e17ff796f
commit
254b028943
@ -329,13 +329,13 @@ int virPolkitCheckAuth(const char *actionid ATTRIBUTE_UNUSED,
|
||||
|
||||
|
||||
void
|
||||
virPolkitAgentDestroy(virCommandPtr cmd ATTRIBUTE_UNUSED)
|
||||
virPolkitAgentDestroy(virPolkitAgentPtr agent ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return; /* do nothing */
|
||||
}
|
||||
|
||||
|
||||
virCommandPtr
|
||||
virPolkitAgentPtr
|
||||
virPolkitAgentCreate(void)
|
||||
{
|
||||
virReportError(VIR_ERR_AUTH_FAILED, "%s",
|
||||
|
Loading…
x
Reference in New Issue
Block a user