qemu/qapi
Markus Armbruster 4af8be1f88 qapi: Drop redundant, unclean error_is_set()
do_qmp_dispatch()'s test for qmp_dispatch_check_obj() failure examines
both the return value and the error object.  The latter part is
unclean; it works only when do_qmp_dispatch()'s caller passes a
non-null errp argument.  That's the case, but it's not locally
obvious.  Unclean.

Cleanup would be easy enough, but since the unclean code is also
redundant, let's just drop it.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2014-05-09 09:11:31 -04:00
..
Makefile.objs build: move base QAPI files to libqemuutil.a 2013-01-12 18:42:51 +01:00
opts-visitor.c qapi: treat all negative return of strtosz_suffix() as error 2014-05-08 14:19:58 -04:00
qapi-dealloc-visitor.c qapi: Clean up superfluous null check in qapi_dealloc_type_str() 2014-03-03 11:17:45 -05:00
qapi-visit-core.c qapi: make visit_type_size fallback to type_int 2013-07-29 19:33:33 -05:00
qmp-dispatch.c qapi: Drop redundant, unclean error_is_set() 2014-05-09 09:11:31 -04:00
qmp-input-visitor.c qerror.h: Remove QERR defines that are only used once 2014-04-25 09:19:59 -04:00
qmp-output-visitor.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
qmp-registry.c qemu-ga: Extend 'guest-info' command to expose flag 'success-response' 2013-10-10 14:52:37 -05:00
string-input-visitor.c qapi: Add size parser to StringInputVisitor 2014-02-14 21:12:01 +01:00
string-output-visitor.c qapi: Refine human printing of sizes 2014-02-14 21:12:05 +01:00