mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-27 13:52:20 +00:00
qemu-dbus: remove unused variable
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
a86094d694
commit
5f56cb8bc8
@ -142,13 +142,11 @@ qemuDBusStop(virQEMUDriverPtr driver,
|
||||
qemuDomainObjPrivatePtr priv = vm->privateData;
|
||||
g_autofree char *shortName = NULL;
|
||||
g_autofree char *pidfile = NULL;
|
||||
g_autofree char *configfile = NULL;
|
||||
|
||||
if (!(shortName = virDomainDefGetShortName(vm->def)))
|
||||
return;
|
||||
|
||||
pidfile = qemuDBusCreatePidFilename(cfg, shortName);
|
||||
configfile = qemuDBusCreateConfPath(cfg, shortName);
|
||||
|
||||
if (virPidFileForceCleanupPath(pidfile) < 0) {
|
||||
VIR_WARN("Unable to kill dbus-daemon process");
|
||||
|
Loading…
x
Reference in New Issue
Block a user