util: Fix build without polkit

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
Jiri Denemark 2016-03-01 15:51:37 +01:00
parent 4e17ff796f
commit 254b028943

View File

@ -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",