/in/p2.cpp: In function 'int tree_sum(tree_t)':
/in/p2.cpp:320:28: warning: no return statement in function returning non-void [-Wreturn-type]
int tree_sum(tree_t tree) {}
^
/in/p2.cpp: In function 'bool tree_search(tree_t, int)':
/in/p2.cpp:326:41: warning: no return statement in function returning non-void [-Wreturn-type]
bool tree_search(tree_t tree, int val) {}
^
/in/p2.cpp: In function 'int depth(tree_t)':
/in/p2.cpp:332:25: warning: no return statement in function returning non-void [-Wreturn-type]
int depth(tree_t tree) {}
^
/in/p2.cpp: In function 'int tree_max(tree_t)':
/in/p2.cpp:358:28: warning: no return statement in function returning non-void [-Wreturn-type]
int tree_max(tree_t tree) {}
^
/in/p2.cpp: In function 'opaque_list* traversal(tree_t)':
/in/p2.cpp:365:32: warning: no return statement in function returning non-void [-Wreturn-type]
list_t traversal(tree_t tree) {}
^
/in/p2.cpp: In function 'bool tree_hasMonotonicPath(tree_t)':
/in/p2.cpp:397:42: warning: no return statement in function returning non-void [-Wreturn-type]
bool tree_hasMonotonicPath(tree_t tree) {}
^
/in/p2.cpp: In function 'bool tree_allPathSumGreater(tree_t, int)':
/in/p2.cpp:431:52: warning: no return statement in function returning non-void [-Wreturn-type]
bool tree_allPathSumGreater(tree_t tree, int sum) {}
^
/in/p2.cpp: In function 'bool covered_by(tree_t, tree_t)':
/in/p2.cpp:460:38: warning: no return statement in function returning non-void [-Wreturn-type]
bool covered_by(tree_t A, tree_t B) {}
^
/in/p2.cpp: In function 'bool contained_by(tree_t, tree_t)':
/in/p2.cpp:465:40: warning: no return statement in function returning non-void [-Wreturn-type]
bool contained_by(tree_t A, tree_t B) {}
^
/in/p2.cpp: In function 'opaque_tree* insert_tree(int, tree_t)':
/in/p2.cpp:471:43: warning: no return statement in function returning non-void [-Wreturn-type]
tree_t insert_tree(int elt, tree_t tree) {}
^