]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Fix build with polkit 0
authorJim Fehlig <jfehlig@novell.com>
Mon, 1 Nov 2010 23:50:32 +0000 (17:50 -0600)
committerJim Fehlig <jfehlig@novell.com>
Tue, 2 Nov 2010 16:11:16 +0000 (10:11 -0600)
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.

daemon/remote.c

index 886d53db16eb62eafde6a3e40015d3f0f75c3f70..3cf38866498e70a635072274ec010076eecc4b01 100644 (file)
@@ -4152,6 +4152,7 @@ remoteDispatchAuthPolkit (struct qemud_server *server,
     DBusError err;
     const char *action;
     char ident[100];
+    int rv;
 
     memset(ident, 0, sizeof ident);