json & schema_compile BUGFIX uninitialized variables
Fixes #1787
diff --git a/src/schema_compile_node.c b/src/schema_compile_node.c
index 3f61230..e1da522 100644
--- a/src/schema_compile_node.c
+++ b/src/schema_compile_node.c
@@ -2408,7 +2408,8 @@
struct lysc_node **list;
if (ctx->ext) {
- lysc_ext_substmt(ctx->ext, LY_STMT_CONTAINER /* matches all data nodes */, (void **)&list, NULL);
+ /* container matches all data nodes */
+ lysc_ext_substmt(ctx->ext, LY_STMT_CONTAINER, (void **)&list, NULL);
} else if (node->nodetype == LYS_RPC) {
list = (struct lysc_node **)&ctx->cur_mod->compiled->rpcs;
} else if (node->nodetype == LYS_NOTIF) {