]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Fix build with polkit0
authorJim Fehlig <jfehlig@suse.com>
Thu, 16 Feb 2012 04:34:13 +0000 (21:34 -0700)
committerJim Fehlig <jfehlig@suse.com>
Thu, 16 Feb 2012 04:34:13 +0000 (21:34 -0700)
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

index 724db2318e82650a01d620917facf0c3edba17da..ed27053d8e5bbe5543527df58293b4dcced45da8 100644 (file)
@@ -2590,7 +2590,6 @@ remoteDispatchAuthPolkit(virNetServerPtr server,
     DBusError err;
     const char *action;
     char *ident = NULL;
-    int rv = -1;
     struct daemonClientPrivate *priv =
         virNetServerClientGetPrivateData(client);