From: Peter Krempa Date: Wed, 1 Oct 2014 12:33:09 +0000 (+0200) Subject: qemu: json: Fix missing break in error reporting function X-Git-Tag: v1.2.10-rc1~169 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58699b77eee9e45cbf8c9f08291fc298aae37eea;p=thirdparty%2Flibvirt.git qemu: json: Fix missing break in error reporting function Otherwise we'd report a different error. Reported by John Ferlan's coverity run. --- diff --git a/src/qemu/qemu_monitor_json.c b/src/qemu/qemu_monitor_json.c index 5f00101386..7fcf2456b8 100644 --- a/src/qemu/qemu_monitor_json.c +++ b/src/qemu/qemu_monitor_json.c @@ -2128,6 +2128,7 @@ qemuMonitorJSONReportBlockExtentError(qemuMonitorBlockExtentError error) virReportError(VIR_ERR_INTERNAL_ERROR, "%s", _("blockstats stats entry was not in " "expected format")); + break; case QEMU_MONITOR_BLOCK_EXTENT_ERROR_NOOFFSET: virReportError(VIR_ERR_INTERNAL_ERROR,