From: Jim Fehlig Date: Mon, 1 Nov 2010 23:50:32 +0000 (-0600) Subject: Fix build with polkit 0 X-Git-Tag: v0.8.6~180 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98b8424ed8cf669b3a41efd48f2c9f03faaa8fa2;p=thirdparty%2Flibvirt.git Fix build with polkit 0 Commit e8066d53 broke the build with polkit0: remote.c: In function 'remoteDispatchAuthPolkit': remote.c:4177: error: 'rv' undeclared (first use in this function) Add missing identifier. --- diff --git a/daemon/remote.c b/daemon/remote.c index 886d53db16..3cf3886649 100644 --- a/daemon/remote.c +++ b/daemon/remote.c @@ -4152,6 +4152,7 @@ remoteDispatchAuthPolkit (struct qemud_server *server, DBusError err; const char *action; char ident[100]; + int rv; memset(ident, 0, sizeof ident);