[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] fixup! qapi: Document visitor interfaces, add a
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH] fixup! qapi: Document visitor interfaces, add assertions |
Date: |
Wed, 04 May 2016 17:04:31 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Eric Blake <address@hidden> writes:
> [no change to commit message]
>
> Signed-off-by: Eric Blake <address@hidden>
> ---
> include/qapi/visitor.h | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/include/qapi/visitor.h b/include/qapi/visitor.h
> index 0bb2fe1..2211637 100644
> --- a/include/qapi/visitor.h
> +++ b/include/qapi/visitor.h
> @@ -174,7 +174,7 @@
> * v = ...obtain visitor...
> * visit_start_struct(v, NULL, NULL, 0, &err);
> * if (err) {
> - * goto outobj;
> + * goto out;
> * }
> * visit_start_list(v, "list", &err);
> * if (err) {
> @@ -196,6 +196,7 @@
> * error_propagate(errp, err);
> * err = NULL;
> * visit_end_struct(v, &err);
> + * out:
> * error_propagate(errp, err);
> * ...clean up v...
> * </example>
Squashed in and pushed. Thanks!