Add assertion
This commit is contained in:
1 parent
366f352d81
commit
a2f46cd336
1 file changed
+1
@@ -356,6 +356,7 @@ typedef enum {
|
||||
{ \
|
||||
RBTREEI_CONTRACT (tree); \
|
||||
assert (it != NULL); \
|
||||
assert (child == 0 || child == 1); \
|
||||
unsigned int cpt = 0; \
|
||||
if (tree->node != NULL) { \
|
||||
it->which[cpt] = child; \
|
||||
|
||||
Reference in new issue
Block a user