From: K.Kosako Date: Wed, 22 Aug 2018 04:47:40 +0000 (+0900) Subject: remove unused function list_node_free_not_car() X-Git-Tag: v6.9.0~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0688d5fd5333d570db6b3abc020a514516609eca;p=onig remove unused function list_node_free_not_car() --- diff --git a/src/regparse.c b/src/regparse.c index d9acf78..d8c5b11 100644 --- a/src/regparse.c +++ b/src/regparse.c @@ -2076,20 +2076,6 @@ cons_node_free_alone(Node* node) onig_node_free(node); } -extern void -list_node_free_not_car(Node* node) -{ - Node* next_node; - - start: - if (IS_NULL(node)) return; - - next_node = NODE_CDR(node); - xfree(node); - node = next_node; - goto start; -} - static Node* node_new(void) {