diff options
| author | Eric Blake | 2016-01-29 14:48:59 +0100 |
|---|---|---|
| committer | Markus Armbruster | 2016-02-08 17:29:57 +0100 |
| commit | 08f9541dec51700abef0c37994213164ca4e4fc9 (patch) | |
| tree | 2fbddce86ad35307b616aca8e795965e862b779f /include/exec | |
| parent | qapi: Tighten qmp_input_end_list() (diff) | |
| download | qemu-08f9541dec51700abef0c37994213164ca4e4fc9.tar.gz qemu-08f9541dec51700abef0c37994213164ca4e4fc9.tar.xz qemu-08f9541dec51700abef0c37994213164ca4e4fc9.zip | |
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.
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1454075341-13658-24-git-send-email-eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
