Proper returns
This commit is contained in:
parent
457cd2965e
commit
26bba55a3c
1 changed files with 4 additions and 0 deletions
|
@ -43,6 +43,8 @@ int tree_insert(Tree *tree, int data) {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool tree_contains(Node *node, int data) {
|
||||
|
@ -59,6 +61,8 @@ int tree_remove(Node **node, int data) {
|
|||
if (node == NULL)
|
||||
return false;
|
||||
// TODO
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int tree_clear(Node *node) {
|
||||
|
|
Loading…
Reference in a new issue