Skip to content

Commit 7e3a716

Browse files
committed
union: remove assert in sort
Getting assertion in lyplg_type_sort_union(). This assertion appears invalid as it comes up in test cases in SONiC but when removed everything passes. Signed-off-by: Brad House <[email protected]>
1 parent 529a594 commit 7e3a716

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/plugins_types/union.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,6 @@ lyplg_type_sort_union(const struct ly_ctx *ctx, const struct lyd_value *val1, co
531531
break;
532532
}
533533
}
534-
assert(rc != 0);
535534

536535
return rc;
537536
}

0 commit comments

Comments
 (0)