unicorn/qemu/qapi
Eric Blake 3aba81d5aa
qapi: Drop unused error argument for list and implicit struct
No backend was setting an error when ending the visit of a list or
implicit struct, or when moving to the next list node. Make the
callers a bit easier to follow by making this a part of the contract,
and removing the errp argument - callers can then unconditionally end
an object as part of cleanup without having to think about whether a
second error is dominated by a first, because there is no second
error.

A later patch will then tackle the larger task of splitting
visit_end_struct(), which can indeed set an error.

Backports commit 08f9541dec51700abef0c37994213164ca4e4fc9 from qemu
2018-02-19 12:59:54 -05:00
..
common.json import 2015-08-21 15:04:50 +08:00
Makefile.objs remove glib dependency by provide compatible replacements 2016-12-18 14:56:58 -08:00
qapi-dealloc-visitor.c qapi: Drop unused error argument for list and implicit struct 2018-02-19 12:59:54 -05:00
qapi-visit-core.c qapi: Drop unused error argument for list and implicit struct 2018-02-19 12:59:54 -05:00
qmp-input-visitor.c qapi: Drop unused error argument for list and implicit struct 2018-02-19 12:59:54 -05:00
qmp-output-visitor.c qapi: Drop unused error argument for list and implicit struct 2018-02-19 12:59:54 -05:00
string-input-visitor.c qapi: Drop unused error argument for list and implicit struct 2018-02-19 12:59:54 -05:00