diff options
author | Martin Schwenke <martin@meltin.net> | 2019-05-23 17:49:26 +1000 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2019-06-05 10:25:50 +0000 |
commit | cf9199f425ce7f2412f794ebb89bb28f898571c7 (patch) | |
tree | f9f938a9fb59eda2a87116dcd90da4f656eafa3f /ctdb/common | |
parent | 2b3150db944076f7dc4300bb73c766bf4d7517b1 (diff) | |
download | samba-cf9199f425ce7f2412f794ebb89bb28f898571c7.tar.gz |
ctdb-common: Use #ifdef to avoid TEST_RB_TREE not defined
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/common')
-rw-r--r-- | ctdb/common/rb_tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ctdb/common/rb_tree.c b/ctdb/common/rb_tree.c index bacdea6c689..d94d15efd74 100644 --- a/ctdb/common/rb_tree.c +++ b/ctdb/common/rb_tree.c @@ -1029,7 +1029,7 @@ trbt_findfirstarray32(trbt_tree_t *tree, uint32_t keylen) } -#if TEST_RB_TREE +#ifdef TEST_RB_TREE static void printtree(trbt_node_t *node, int levels) { int i; @@ -1098,4 +1098,4 @@ exit(0); } -#endif +#endif /* TEST_RB_TREE */ |