]> granicus.if.org Git - graphviz/commitdiff
remove unused glcompsetNextGroupId
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 5 Jun 2021 23:52:44 +0000 (16:52 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 9 Jun 2021 03:13:24 +0000 (20:13 -0700)
lib/glcomp/glcompset.c
lib/glcomp/glcompset.h

index 971c43f3f9470b0ece77989f8c9c08395e45af05..e96ac2029271c50f41024ec244586ce34dad1fda 100644 (file)
@@ -317,9 +317,3 @@ extern int glcompsetGetGroupId(glCompSet * s)
 {
     return s->groupCount;
 }
-extern int glcompsetNextGroupId(glCompSet * s)
-{
-    int rv = s->groupCount;
-    s->groupCount++;
-    return rv;
-}
index 69c7584d8c56487311356ef4f1c0c1b4452e866a..11348eea5854927d8aad4152de25218fedfbeda9 100644 (file)
@@ -28,7 +28,6 @@ extern "C" {
     extern glCompSet *glCompSetNew(int w, int h);
     extern int glCompSetDraw(glCompSet * s);
     extern void glcompsetUpdateBorder(glCompSet * s, int w, int h);
-    extern int glcompsetNextGroupId(glCompSet * s);
     extern int glcompsetGetGroupId(glCompSet * s);
     extern void glCompDrawBegin(void);
     extern void glCompDrawEnd(void);