diff options
author | 2010-04-29 17:56:01 +0200 | |
---|---|---|
committer | 2010-04-29 22:13:24 +0200 | |
commit | 5b0aed68b080b49cac1f6cac8250a78e28f61e56 (patch) | |
tree | 1787341499a6d66609f8da1634144361a3947b53 | |
parent | Fix detection of disk in IO events (diff) | |
download | libvirt-5b0aed68b080b49cac1f6cac8250a78e28f61e56.tar.gz libvirt-5b0aed68b080b49cac1f6cac8250a78e28f61e56.tar.bz2 libvirt-5b0aed68b080b49cac1f6cac8250a78e28f61e56.zip |
qemudDomainSaveFlag: remove dead store
* src/qemu/qemu_driver.c (qemudDomainSaveFlag): Remove dead store to "rc".
-rw-r--r-- | src/qemu/qemu_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index c2902ac1d..42a653a43 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -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; } |