qapi: add assert about root value
commit5d0cbbcfeb59e1e3f5ee7d26b8a215382f6d9abd
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 30 Sep 2016 09:59:46 +0000 (30 13:59 +0400)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 7 Oct 2016 17:22:11 +0000 (7 19:22 +0200)
treee3575cbda4b4121a002095d8a44b029dca5c269d
parentbce3035a44c40bd3ec29d3162025fd350f2d8dbf
qapi: add assert about root value

qiv->root should not be null, make that clearer with some assert.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20160930095948.3154-2-marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
qapi/qmp-input-visitor.c