summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Fehlig <jfehlig@suse.com>2012-02-15 21:34:13 -0700
committerDoug Goldstein <cardoe@cardoe.com>2012-02-19 16:53:26 -0600
commit3617c6ddfb86a53a19dd31f16abd3ee475966446 (patch)
tree4b0314fbc2b1531baac412a15e123f5daacea0af
parentsnapshot: fix snapshot deletion use-after-free (diff)
downloadlibvirt-3617c6ddfb86a53a19dd31f16abd3ee475966446.tar.gz
libvirt-3617c6ddfb86a53a19dd31f16abd3ee475966446.tar.bz2
libvirt-3617c6ddfb86a53a19dd31f16abd3ee475966446.zip
Fix build with polkit0
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.
-rw-r--r--daemon/remote.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/daemon/remote.c b/daemon/remote.c
index 724db2318..ed27053d8 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);