qemu/qobject
Markus Armbruster 17e9aa3f22 block-qdict: Pacify Coverity after commit f1b34a248e
Commit f1b34a248e replaced less-than-obvious test in
qdict_flatten_qdict() by the obvious one.  Sadly, it made something
else non-obvious: the fact that @new_key passed to qdict_put_obj()
can't be null, because that depends on the function's precondition
(target == qdict) == !prefix.

Tweak the function some more to help Coverity and human readers alike.

Fixes: CID 1393620
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2018-06-29 14:20:56 +02:00
..
Makefile.objs
block-qdict.c block-qdict: Pacify Coverity after commit f1b34a248e 2018-06-29 14:20:56 +02:00
json-lexer.c
json-parser.c
json-streamer.c
qbool.c
qdict.c
qjson.c
qlist.c
qlit.c
qnull.c
qnum.c
qobject.c
qstring.c