1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03:00

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.
This commit is contained in:
Jim Fehlig 2010-11-01 17:50:32 -06:00
parent a75cf152a5
commit 98b8424ed8

View File

@ -4152,6 +4152,7 @@ remoteDispatchAuthPolkit (struct qemud_server *server,
DBusError err; DBusError err;
const char *action; const char *action;
char ident[100]; char ident[100];
int rv;
memset(ident, 0, sizeof ident); memset(ident, 0, sizeof ident);