]> Git Repo - qemu.git/commit - qapi/qobject-output-visitor.c
qapi: Drop unused error argument for list and implicit struct
authorEric Blake <[email protected]>
Fri, 29 Jan 2016 13:48:59 +0000 (06:48 -0700)
committerMarkus Armbruster <[email protected]>
Mon, 8 Feb 2016 16:29:57 +0000 (17:29 +0100)
commit08f9541dec51700abef0c37994213164ca4e4fc9
tree2fbddce86ad35307b616aca8e795965e862b779f
parentbdd8e6b5d8a9def83d491a3f41c10424fc366258
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 <[email protected]>
Message-Id: <1454075341[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
hw/ppc/spapr_drc.c
include/qapi/visitor-impl.h
include/qapi/visitor.h
qapi/opts-visitor.c
qapi/qapi-dealloc-visitor.c
qapi/qapi-visit-core.c
qapi/qmp-input-visitor.c
qapi/qmp-output-visitor.c
qapi/string-input-visitor.c
qapi/string-output-visitor.c
scripts/qapi-visit.py
This page took 0.027268 seconds and 4 git commands to generate.