projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d0cbbc
)
qapi: assert list entry has a value
author
Marc-André Lureau
<marcandre.lureau@redhat.com>
Fri, 30 Sep 2016 09:59:47 +0000
(13:59 +0400)
committer
Markus Armbruster
<armbru@redhat.com>
Fri, 7 Oct 2016 17:22:11 +0000
(19:22 +0200)
This helps to figure out the expectations.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <
20160930095948
.3154-3-marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
qapi/qmp-input-visitor.c
patch
|
blob
|
history
diff --git
a/qapi/qmp-input-visitor.c
b/qapi/qmp-input-visitor.c
index c7deca95b3e68977776f096cb084c0f527989b54..fe097c99b31eb477cc30ac0857a192f6a6335333 100644
(file)
--- a/
qapi/qmp-input-visitor.c
+++ b/
qapi/qmp-input-visitor.c
@@
-84,6
+84,7
@@
static QObject *qmp_input_get_object(QmpInputVisitor *qiv,
assert(qobject_type(qobj) == QTYPE_QLIST);
assert(!name);
ret = qlist_entry_obj(tos->entry);
+ assert(ret);
if (consume) {
tos->entry = qlist_next(tos->entry);
}