Re: [Qemu-devel] [PATCH 04/14] check-qjson: Simplify around compare_litqobj_to_qobj()

2017-02-18 Thread Eric Blake
On 02/17/2017 02:38 PM, Markus Armbruster wrote: > 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 > ---

[Qemu-devel] [PATCH 04/14] check-qjson: Simplify around compare_litqobj_to_qobj()

2017-02-17 Thread Markus Armbruster
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 --- tests/check-qjson.c | 22 +- 1 file changed,