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:
Alex Jia 2011-08-04 13:30:19 +08:00 committed by Eric Blake
parent 2280447962
commit 2c4d7b5fa4
1 changed files with 0 additions and 1 deletions

View File

@ -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"));