• E
    qapi: Drop unused error argument for list and implicit struct · 08f9541d
    Eric Blake 提交于
    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: NEric Blake <eblake@redhat.com>
    Message-Id: <1454075341-13658-24-git-send-email-eblake@redhat.com>
    Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
    08f9541d
visitor.h 3.3 KB