]> Git Repo - qemu.git/commit
check-qjson: Simplify around compare_litqobj_to_qobj()
authorMarkus Armbruster <[email protected]>
Fri, 17 Feb 2017 20:38:15 +0000 (21:38 +0100)
committerMarkus Armbruster <[email protected]>
Wed, 22 Feb 2017 18:51:54 +0000 (19:51 +0100)
commit9eaaf971683c99ed197fa1b7d1a3ca9baabfb3ee
tree671e610364dcb6614fdc5f9e78b06028e5c9a19a
parenta68931ea5f87ee3cc3144348596077de87f94c93
check-qjson: Simplify around compare_litqobj_to_qobj()

Make compare_litqobj_to_qobj() cope with null, and drop non-null
assertions from callers.

compare_litqobj_to_qobj() already checks the QType matches; drop the
redundant assertions from callers.

Signed-off-by: Markus Armbruster <[email protected]>
Message-Id: <1487363905[email protected]>
Reviewed-by: Eric Blake <[email protected]>
tests/check-qjson.c
This page took 0.034096 seconds and 4 git commands to generate.