/in/p2.cpp: In function 'int sum_min(tree_t)':
/in/p2.cpp:239:9: warning: unused variable 'left' [-Wunused-variable]
int left=tree_elt(tree_left(tree));
^~~~
/in/p2.cpp:240:9: warning: unused variable 'right' [-Wunused-variable]
int right=tree_elt(tree_right(tree));
^~~~~
/in/p2.cpp: In function 'int size(list_t)':
/in/p2.cpp:16:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/p2.cpp: In function 'opaque_list* chop(list_t, unsigned int)':
/in/p2.cpp:123:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/p2.cpp: In function 'bool tree_search(tree_t, int)':
/in/p2.cpp:143:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/p2.cpp: In function 'int tree_max(tree_t)':
/in/p2.cpp:176:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/p2.cpp: In function 'bool monotonicpath_increasing(tree_t)':
/in/p2.cpp:205:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/in/p2.cpp: In function 'bool monotonicpath_decreasing(tree_t)':
/in/p2.cpp:223:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^