From 099cc867c1a0831add7f1b4046f22ad6bfa5a1ef Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Tue, 27 Feb 2001 16:50:29 +0000 Subject: [PATCH] Removed compiler warning. --- lib/avl_tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } } -- 2.39.5