From: Matthew Fernandez Date: Tue, 10 Jan 2023 15:54:21 +0000 (-0800) Subject: dotgen find_fast_node: squash -Wunused-function warning in release mode X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c940fcb0dcc15bb7303ffdcc10de139841703359;p=graphviz dotgen find_fast_node: squash -Wunused-function warning in release mode --- diff --git a/lib/dotgen/fastgr.c b/lib/dotgen/fastgr.c index c641d9de6..ba3abfefc 100644 --- a/lib/dotgen/fastgr.c +++ b/lib/dotgen/fastgr.c @@ -8,7 +8,7 @@ * Contributors: Details at https://graphviz.org *************************************************************************/ - +#include #include #include @@ -41,9 +41,7 @@ edge_t *find_fast_edge(node_t * u, node_t * v) return ffe(u, ND_out(u), v, ND_in(v)); } -static node_t* -find_fast_node(graph_t * g, node_t * n) -{ +static UNUSED node_t *find_fast_node(graph_t *g, node_t *n) { node_t *v; for (v = GD_nlist(g); v; v = ND_next(v)) if (v == n)