From c3aa3c5089d80323268e476eca26b92da8f43cb5 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Thu, 23 Mar 2017 23:43:50 +0100 Subject: [PATCH] Fix warning for release mode about unused function. --- m-rbtree.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/m-rbtree.h b/m-rbtree.h index 8939b343..525ceb60 100644 --- a/m-rbtree.h +++ b/m-rbtree.h @@ -678,6 +678,7 @@ typedef enum { return p; \ } \ \ + M_IF_DEBUG( \ static size_t \ M_C3(rbtreei_,name,_depth)(const node_t *n) \ { \ @@ -685,6 +686,7 @@ typedef enum { return RBTREEI_IS_BLACK (n) \ + M_C3(rbtreei_,name,_depth)(n->child[0]); \ } \ + ) \ \ static inline bool \ M_C3(rbtree_, name, _pop)(type *data_ptr, tree_t tree, type const key) \