summaryrefslogtreecommitdiffstats
path: root/src/tree_debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tree_debug.h')
-rw-r--r--src/tree_debug.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/tree_debug.h b/src/tree_debug.h
index 7867658..b1a2d2e 100644
--- a/src/tree_debug.h
+++ b/src/tree_debug.h
@@ -6,29 +6,6 @@
#include <inttypes.h>
-#ifdef ZIX_TREE_DUMP
-static void
-zix_tree_print(ZixTreeNode* node, int level)
-{
- if (node) {
- if (!node->parent) {
- printf("{{{\n");
- }
-
- zix_tree_print(node->right, level + 1);
- for (int i = 0; i < level; i++) {
- printf(" ");
- }
-
- printf("%ld.%d\n", (intptr_t)node->data, node->balance);
- zix_tree_print(node->left, level + 1);
- if (!node->parent) {
- printf("}}}\n");
- }
- }
-}
-#endif
-
#ifdef ZIX_TREE_HYPER_VERIFY
static size_t
height(ZixTreeNode* n)