From: Guus Sliepen Date: Tue, 27 Feb 2001 16:50:29 +0000 (+0000) Subject: Removed compiler warning. X-Git-Tag: release-1.0pre4~26 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=099cc867c1a0831add7f1b4046f22ad6bfa5a1ef;p=tinc Removed compiler warning. --- diff --git a/lib/avl_tree.c b/lib/avl_tree.c index 9b7a06c1..a07f123f 100644 --- a/lib/avl_tree.c +++ b/lib/avl_tree.c @@ -29,7 +29,7 @@ library for inclusion into tinc (http://tinc.nl.linux.org/) by Guus Sliepen . - $Id: avl_tree.c,v 1.1.2.6 2001/02/20 21:53:18 wsl Exp $ + $Id: avl_tree.c,v 1.1.2.7 2001/02/27 16:50:29 guus Exp $ */ #include @@ -430,7 +430,7 @@ avl_node_t *avl_insert(avl_tree_t *tree, void *data) new->data = data; avl_insert_after(tree, closest, new); break; - case 0: + default: return NULL; } }