提交 5b0aed68 编写于 作者: J Jim Meyering

qemudDomainSaveFlag: remove dead store

* src/qemu/qemu_driver.c (qemudDomainSaveFlag): Remove dead store to "rc".
上级 0eecdd68
...@@ -4822,7 +4822,7 @@ static int qemudDomainSaveFlag(virDomainPtr dom, const char *path, ...@@ -4822,7 +4822,7 @@ static int qemudDomainSaveFlag(virDomainPtr dom, const char *path,
virReportSystemError(errno, _("unable to open %s"), path); virReportSystemError(errno, _("unable to open %s"), path);
goto endjob; goto endjob;
} }
if ((rc = qemudDomainSaveFileOpHook(fd, &hdata)) != 0) { if (qemudDomainSaveFileOpHook(fd, &hdata) != 0) {
close(fd); close(fd);
goto endjob; goto endjob;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册