1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-23 21:34:54 +03:00

qemudDomainSaveFlag: remove dead store

* src/qemu/qemu_driver.c (qemudDomainSaveFlag): Remove dead store to "rc".
This commit is contained in:
Jim Meyering 2010-04-29 17:56:01 +02:00
parent 0eecdd685a
commit 5b0aed68b0

View File

@ -4822,7 +4822,7 @@ static int qemudDomainSaveFlag(virDomainPtr dom, const char *path,
virReportSystemError(errno, _("unable to open %s"), path);
goto endjob;
}
if ((rc = qemudDomainSaveFileOpHook(fd, &hdata)) != 0) {
if (qemudDomainSaveFileOpHook(fd, &hdata) != 0) {
close(fd);
goto endjob;
}