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:
parent
0eecdd685a
commit
5b0aed68b0
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user