schema compile BUGFIX removed assert
... because the deviations can cause a false in the assert condition.
Fixes #1637
diff --git a/src/schema_compile_node.c b/src/schema_compile_node.c
index 7c47f58..6201d6d 100644
--- a/src/schema_compile_node.c
+++ b/src/schema_compile_node.c
@@ -3317,9 +3317,8 @@
if (ctx->ctx->flags & LY_CTX_SET_PRIV_PARSED) {
/* Compiled case node cannot point to his corresponding parsed node
- * because it exists temporarily. Therefore, it must be set to NULL.
- */
- assert(compiled_case->priv == cs_p);
+ * because it exists temporarily. Therefore, it must be set to NULL.
+ */
compiled_case->priv = NULL;
}