]> granicus.if.org Git - graphviz/commitdiff
remove unused agraphseqcmpf function
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 5 Jun 2020 23:40:41 +0000 (16:40 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 27 Jun 2020 00:19:35 +0000 (17:19 -0700)
lib/cgraph/graph.c

index 453ac52c2910c9673d586387ae9ea9ac9f0a9bd4..972e3bf6810ac24522c2d9cc0cbd44c3efd67f32 100644 (file)
@@ -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)   */