Commit f2336782 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Add an assert for the benefit of static analysers

parent 6b717fb1
......@@ -584,8 +584,10 @@ name##_VRB_REMOVE(struct name *head, struct type *elm) \
} else \
VRB_ROOT(head) = child; \
color: \
if (color == VRB_BLACK) \
if (color == VRB_BLACK) { \
AN(parent); \
name##_VRB_REMOVE_COLOR(head, parent, child); \
} \
return (old); \
} \
\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment