diff options
author | Eric Blake | 2016-06-09 18:48:41 +0200 |
---|---|---|
committer | Markus Armbruster | 2016-07-06 10:52:04 +0200 |
commit | a8fff94d28bd2f0db37b2194cbfa197ba998b7f7 (patch) | |
tree | 9737822bf70c3993d59e74dfc4f578b3e6f563bd /scripts/coverity-model.c | |
parent | qmp-output-visitor: Favor new visit_free() function (diff) | |
download | qemu-a8fff94d28bd2f0db37b2194cbfa197ba998b7f7.tar.gz qemu-a8fff94d28bd2f0db37b2194cbfa197ba998b7f7.tar.xz qemu-a8fff94d28bd2f0db37b2194cbfa197ba998b7f7.zip |
tests: Clean up test-string-output-visitor
Use &error_abort and error_free_or_abort() in more places, use
the generated qapi_free_intList() instead of open-coding it,
reduce the scope of some variables, avoid code duplication
during test setup with visitor_output_setup_internal(), and
copy the visitor_reset() concept from the qmp-output test to
the string-output test.
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1465490926-28625-11-git-send-email-eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'scripts/coverity-model.c')
0 files changed, 0 insertions, 0 deletions