forked from pool/libvirt
a78854eae9
c05ec920-polkit0-build.patch fcdfa31f-polkit0-auth.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=198
25 lines
783 B
Diff
25 lines
783 B
Diff
commit c05ec920219dc9fad9230c3cea7c1fb17d29ddc3
|
|
Author: Jim Fehlig <jfehlig@suse.com>
|
|
Date: Wed Feb 15 21:34:13 2012 -0700
|
|
|
|
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.
|
|
|
|
Index: libvirt-0.9.10/daemon/remote.c
|
|
===================================================================
|
|
--- libvirt-0.9.10.orig/daemon/remote.c
|
|
+++ libvirt-0.9.10/daemon/remote.c
|
|
@@ -2589,7 +2589,6 @@ remoteDispatchAuthPolkit(virNetServerPtr
|
|
DBusError err;
|
|
const char *action;
|
|
char *ident = NULL;
|
|
- int rv = -1;
|
|
struct daemonClientPrivate *priv =
|
|
virNetServerClientGetPrivateData(client);
|
|
|