From: Jim Fehlig Date: Thu, 16 Feb 2012 04:34:13 +0000 (-0700) Subject: Fix build with polkit0 X-Git-Tag: v0.9.11-rc1~252 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c05ec920219dc9fad9230c3cea7c1fb17d29ddc3;p=thirdparty%2Flibvirt.git 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. --- diff --git a/daemon/remote.c b/daemon/remote.c index 724db2318e..ed27053d8e 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);