[libvirt] [PATCH] Fix build with polkit0

Jim Fehlig jfehlig at suse.com
Thu Feb 16 04:46:21 UTC 2012


Commit 8dd623b9 introduced a build error with --enable-compile-warnings=error

  remote.c:2593: error: unused variable 'rv' [-Wunused-variable]

Pushing under build-breaker rule.
---
 daemon/remote.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/daemon/remote.c b/daemon/remote.c
index 724db23..ed27053 100644
--- a/daemon/remote.c
+++ b/daemon/remote.c
@@ -2590,7 +2590,6 @@ remoteDispatchAuthPolkit(virNetServerPtr server,
     DBusError err;
     const char *action;
     char *ident = NULL;
-    int rv = -1;
     struct daemonClientPrivate *priv =
         virNetServerClientGetPrivateData(client);
 
-- 
1.7.7




More information about the libvir-list mailing list