From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axxSa-00020W-15 for qemu-devel@nongnu.org; Wed, 04 May 2016 10:07:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axxSE-0004P9-73 for qemu-devel@nongnu.org; Wed, 04 May 2016 10:07:22 -0400 Received: from resqmta-po-01v.sys.comcast.net ([96.114.154.160]:34749) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axxSC-0004KK-Tq for qemu-devel@nongnu.org; Wed, 04 May 2016 10:07:06 -0400 From: Eric Blake Date: Wed, 4 May 2016 08:05:43 -0600 Message-Id: <1462370743-1541-1-git-send-email-eblake@redhat.com> In-Reply-To: <1461879932-9020-13-git-send-email-eblake@redhat.com> References: <1461879932-9020-13-git-send-email-eblake@redhat.com> Subject: [Qemu-devel] [PATCH] fixup! qapi: Document visitor interfaces, add assertions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: armbru@redhat.com, Michael Roth [no change to commit message] Signed-off-by: Eric Blake --- 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... * -- 2.5.5