qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] fixup! qapi: Document visitor interfaces, add asser


From: Eric Blake
Subject: [Qemu-devel] [PATCH] fixup! qapi: Document visitor interfaces, add assertions
Date: Wed, 4 May 2016 08:05:43 -0600

[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>
-- 
2.5.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]