From 234960dd823c055bcbb522a24bbc0bf895996ccb Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sat, 7 Nov 2020 13:39:09 +0100 Subject: [PATCH] Remove 4 -Wunused-function warnings in ns.c --- lib/common/ns.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/common/ns.c b/lib/common/ns.c index a0de10ab7..65c7a55fd 100644 --- a/lib/common/ns.c +++ b/lib/common/ns.c @@ -531,12 +531,6 @@ int feasible_tree(void) return 0; } -/* utility functions for debugging */ -static subtree_t *nd_subtree(Agnode_t *n) {return ND_subtree(n);} -static int nd_priority(Agnode_t *n) {return ND_priority(n);} -static int nd_rank(Agnode_t *n) {return ND_rank(n);} -static int ed_minlen(Agedge_t *e) {return ED_minlen(e);} - /* walk up from v to LCA(v,w), setting new cutvalues. */ static Agnode_t *treeupdate(Agnode_t * v, Agnode_t * w, int cutvalue, int dir) { -- 2.40.0