summaryrefslogtreecommitdiffstats
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorMarkus Armbruster2014-01-30 15:07:28 +0100
committerLuiz Capitulino2014-02-17 17:57:23 +0100
commit84d18f065fb041a1c0d78d20320d740ae0673c8a (patch)
treec43dbfdadc21d4fff0f173f9413396cd314927f9 /qapi-schema.json
parentQMP: allow JSON dict arguments in qmp-shell (diff)
downloadqemu-84d18f065fb041a1c0d78d20320d740ae0673c8a.tar.gz
qemu-84d18f065fb041a1c0d78d20320d740ae0673c8a.tar.xz
qemu-84d18f065fb041a1c0d78d20320d740ae0673c8a.zip
Use error_is_set() only when necessary
error_is_set(&var) is the same as var != NULL, but it takes whole-program analysis to figure that out. Unnecessarily hard for optimizers, static checkers, and human readers. Dumb it down to obvious. Gets rid of several dozen Coverity false positives. Note that the obvious form is already used in many places. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qapi-schema.json')
0 files changed, 0 insertions, 0 deletions