back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/rb_tree.c
diff options
context:
space:
mode:
authorscratko <m@scratko.xyz>2024-03-30 19:26:21 +0300
committerscratko <m@scratko.xyz>2024-03-30 19:26:21 +0300
commit2eebf06ade7a316f057334dd6d76b6af22c8ff01 (patch)
treeae591df0dea6c03c93c0406e5bdcd81ad55b7a5a /rb_tree.c
parentff69b8a8f2997c794ed4790dd84d2b3657f2f86e (diff)
downloadred-black-tree-2eebf06ade7a316f057334dd6d76b6af22c8ff01.tar.gz
red-black-tree-2eebf06ade7a316f057334dd6d76b6af22c8ff01.tar.bz2
red-black-tree-2eebf06ade7a316f057334dd6d76b6af22c8ff01.zip
Minor changes
Extended desctiption. Cleaning a terminal history before dispaing of the tree is added to the main file. Fixed some function declaration.
Diffstat (limited to 'rb_tree.c')
-rw-r--r--rb_tree.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/rb_tree.c b/rb_tree.c
index 2386295..7edc294 100644
--- a/rb_tree.c
+++ b/rb_tree.c
@@ -334,7 +334,6 @@ void rb_tree_print(rb_tree *t, node *root)
struct scopes cur_scopes;
cur_scopes.mas = malloc(MIN_SIZE_BUF * sizeof(enum vert_border));
cur_scopes.size = MIN_SIZE_BUF;
- /* clearing terminal */
print(t, root, start_depth, &cur_scopes);
free(cur_scopes.mas);
}