From 26bba55a3c9173ef8d37e4100eacdeb4107bf47c Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Wed, 27 Mar 2024 07:52:28 +0100 Subject: [PATCH] Proper returns --- src/tree.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/tree.c b/src/tree.c index b9e683d..6353fee 100644 --- a/src/tree.c +++ b/src/tree.c @@ -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) {