[libvirt] [PATCH 2/3] qemu_monitor_json: Drop redundant checks

Peter Krempa pkrempa at redhat.com
Tue May 3 11:10:27 UTC 2016


On Tue, May 03, 2016 at 11:53:20 +0200, Michal Privoznik wrote:
> In these functions I'm fixing here, we do call
> qemuMonitorJSONCheckError() followed by another check if qemu
> reply contains 'return' object. If it wouldn't, the former
> CheckError() function would error out and the flow would not even
> get to the latter.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/qemu/qemu_monitor_json.c | 19 +++----------------
>  1 file changed, 3 insertions(+), 16 deletions(-)

ACK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160503/16426bbf/attachment-0001.sig>


More information about the libvir-list mailing list