mirror of https://gitee.com/openkylin/libvirt.git
qemu: avoid dead store in qemuMonitorTextBlockJob
Value stored to 'ret' is never read, so remove this dead assignment. * src/qemu/qemu_monitor_text.c: kill dead assignment. Signed-off-by: Alex Jia <ajia@redhat.com>
This commit is contained in:
parent
2280447962
commit
2c4d7b5fa4
|
@ -2981,7 +2981,6 @@ int qemuMonitorTextBlockJob(qemuMonitorPtr mon,
|
|||
return -1;
|
||||
}
|
||||
|
||||
ret = 0;
|
||||
if (qemuMonitorHMPCommand(mon, cmd, &reply) < 0) {
|
||||
qemuReportError(VIR_ERR_INTERNAL_ERROR,
|
||||
"%s", _("cannot run monitor command"));
|
||||
|
|
Loading…
Reference in New Issue