diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-03-15 19:27:34 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-03-15 19:40:33 -0400 |
commit | d2d23cf240a207d4b719c46e71dd869836a02c0e (patch) | |
tree | 607e946dce01d44a5f430cb3a13f08447cbc481b /src/basic/c-rbtree.c | |
parent | 26e9e10b39fdf343dcb7e11b6cb4eecf11a45970 (diff) |
basic/c-rbtree: remove unused function
Diffstat (limited to 'src/basic/c-rbtree.c')
-rw-r--r-- | src/basic/c-rbtree.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/basic/c-rbtree.c b/src/basic/c-rbtree.c index 914d7e5229..cf5a7242df 100644 --- a/src/basic/c-rbtree.c +++ b/src/basic/c-rbtree.c @@ -195,11 +195,6 @@ static inline void c_rbnode_set_parent_and_color(CRBNode *n, CRBNode *p, unsigne n->__parent_and_color = (CRBNode*)((unsigned long)p | c); } -/* same as c_rbnode_set_parent_and_color(), but keeps the current parent */ -static inline void c_rbnode_set_color(CRBNode *n, unsigned long c) { - c_rbnode_set_parent_and_color(n, c_rbnode_parent(n), c); -} - /* same as c_rbnode_set_parent_and_color(), but keeps the current color */ static inline void c_rbnode_set_parent(CRBNode *n, CRBNode *p) { c_rbnode_set_parent_and_color(n, p, c_rbnode_color(n)); |