From: Matthew Fernandez Date: Fri, 5 Jun 2020 23:40:41 +0000 (-0700) Subject: remove unused agraphseqcmpf function X-Git-Tag: 2.46.0~20^2^2~14^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1845f5d1444d8e3e05026a865627ca7a8753faf8;p=graphviz remove unused agraphseqcmpf function --- diff --git a/lib/cgraph/graph.c b/lib/cgraph/graph.c index 453ac52c2..972e3bf68 100644 --- a/lib/cgraph/graph.c +++ b/lib/cgraph/graph.c @@ -249,16 +249,6 @@ static int agraphidcmpf(Dict_t * d, void *arg0, void *arg1, Dtdisc_t * disc) return ((v==0)?0:(v<0?-1:1)); } -int agraphseqcmpf(Dict_t * d, void *arg0, void *arg1, Dtdisc_t * disc) -{ - long v; - Agraph_t *sg0, *sg1; - sg0 = (Agraph_t *) arg0; - sg1 = (Agraph_t *) arg1; - v = (AGSEQ(sg0) - AGSEQ(sg1)); - return ((v==0)?0:(v<0?-1:1)); -} - Dtdisc_t Ag_subgraph_id_disc = { 0, /* pass object ptr */ 0, /* size (ignored) */