Author: Dave Barach <dave@barachs.net>
--- log message follows this line --
Coverity: fix minor bug in test code

Change-Id: I5921874b4902fc7fe140a9b22852e7d18583e7ae
Signed-off-by: Dave Barach <dave@barachs.net>
diff --git a/vlib-api/vlibapi/node_serialize.c b/vlib-api/vlibapi/node_serialize.c
index 5eb5302..b1e4ae1 100644
--- a/vlib-api/vlibapi/node_serialize.c
+++ b/vlib-api/vlibapi/node_serialize.c
@@ -356,8 +356,10 @@
 	  for (k = 0; k < vec_len (node->next_nodes); k++)
 	    {
 	      if (node->next_nodes[k] != ~0)
-		next_node = nodes[node->next_nodes[k]];
-	      vlib_cli_output (vm, "  [%d] %s", k, next_node->name);
+                {
+                  next_node = nodes[node->next_nodes[k]];
+                  vlib_cli_output (vm, "  [%d] %s", k, next_node->name);
+                }
 	    }
 	}
     }