summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorPaolo Bonzini2016-01-22 12:28:33 +0100
committerMichael Tokarev2016-02-11 13:15:46 +0100
commit58c652c08acaabcf5f22d33021d9ffeae2f59263 (patch)
treef43dc83a01e65dd2da2670c956f7b7422425e2c3 /include/exec
parentcpu: cpu_save/cpu_load is no more (diff)
downloadqemu-58c652c08acaabcf5f22d33021d9ffeae2f59263.tar.gz
qemu-58c652c08acaabcf5f22d33021d9ffeae2f59263.tar.xz
qemu-58c652c08acaabcf5f22d33021d9ffeae2f59263.zip
qemu-sockets: simplify error handling
Just go always through the err label. (Noticed because Coverity complains that peer is always non-NULL in the error cleanup code, but removing the "if" is arguably more prone to introducing the opposite bug in the future). Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Daniel P. Berrange <berrange@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions