qapi: Fix the virtual walk example in visitor.h's big comment
Call visit_check_list(). Missed in commit a4a1c70dc7
"qapi: Make
input visitors detect unvisited list tails".
Drop an irrelevant error_propagate() while there.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20200424084338.26803-3-armbru@redhat.com>
This commit is contained in:
parent
3777d36e67
commit
294c90662a
@ -215,6 +215,9 @@
|
||||
* goto outlist;
|
||||
* }
|
||||
* outlist:
|
||||
* if (!err) {
|
||||
* visit_check_list(v, &err);
|
||||
* }
|
||||
* visit_end_list(v, NULL);
|
||||
* if (!err) {
|
||||
* visit_check_struct(v, &err);
|
||||
@ -222,7 +225,6 @@
|
||||
* outobj:
|
||||
* visit_end_struct(v, NULL);
|
||||
* out:
|
||||
* error_propagate(errp, err);
|
||||
* visit_free(v);
|
||||
* </example>
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user