]> Git Repo - qemu.git/blobdiff - qapi/opts-visitor.c
hppa-softmmu.mak: express dependencies with Kconfig
[qemu.git] / qapi / opts-visitor.c
index 026d25b76779a5657cf92008b44d413387cc9a2e..324b197495a0c55f533f37965838df3ab41363bd 100644 (file)
@@ -164,7 +164,7 @@ opts_check_struct(Visitor *v, Error **errp)
     GHashTableIter iter;
     GQueue *any;
 
-    if (ov->depth > 0) {
+    if (ov->depth > 1) {
         return;
     }
 
@@ -276,8 +276,8 @@ static void
 opts_check_list(Visitor *v, Error **errp)
 {
     /*
-     * FIXME should set error when unvisited elements remain.  Mostly
-     * harmless, as the generated visits always visit all elements.
+     * Unvisited list elements will be reported later when checking
+     * whether unvisited struct members remain.
      */
 }
 
This page took 0.023347 seconds and 4 git commands to generate.