summary refs log tree commit diff stats
path: root/monitor.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2017-02-17 21:38:15 +0100
committerMarkus Armbruster <armbru@redhat.com>2017-02-22 19:51:54 +0100
commit9eaaf971683c99ed197fa1b7d1a3ca9baabfb3ee (patch)
tree671e610364dcb6614fdc5f9e78b06028e5c9a19a /monitor.c
parenta68931ea5f87ee3cc3144348596077de87f94c93 (diff)
downloadfocaccia-qemu-9eaaf971683c99ed197fa1b7d1a3ca9baabfb3ee.tar.gz
focaccia-qemu-9eaaf971683c99ed197fa1b7d1a3ca9baabfb3ee.zip
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 <armbru@redhat.com>
Message-Id: <1487363905-9480-5-git-send-email-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'monitor.c')
0 files changed, 0 insertions, 0 deletions