summaryrefslogtreecommitdiff
path: root/src/basic/c-rbtree.c
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2016-03-17 16:41:20 +0100
committerDaniel Mack <github@zonque.org>2016-03-17 16:41:20 +0100
commitc31be17f6bfb0a7c6f8ecb892f125016b7986f5c (patch)
tree53d954c5dbf22e5011ce712fe07f469ffeea4737 /src/basic/c-rbtree.c
parentce1d15ed0f944b864ac1ea0025297daede7b45f4 (diff)
parentc337642992892219479704460a8d7042d66ce1e7 (diff)
Merge pull request #2848 from keszybz/clang-warnings
Clang warnings
Diffstat (limited to 'src/basic/c-rbtree.c')
-rw-r--r--src/basic/c-rbtree.c5
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));