]> granicus.if.org Git - graphviz/commitdiff
gxl2gv setGlobalNodeAttr: remove unused 'ud' parameter
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 17 Sep 2021 04:06:05 +0000 (21:06 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 19 Sep 2021 23:21:06 +0000 (16:21 -0700)
cmd/tools/gxl2gv.c

index 33294f3efcd097ee52d145d2227903ee81756a02..c8bfd33aa29c86a12e82ae763583f68b7ea458c4 100644 (file)
@@ -321,7 +321,7 @@ setNodeAttr(Agnode_t * np, char *name, char *value, userdata_t * ud,
  * The names must always begin with "node:".
  */
 static void
-setGlobalNodeAttr(Agraph_t * g, char *name, char *value, userdata_t * ud)
+setGlobalNodeAttr(Agraph_t * g, char *name, char *value)
 {
     if (strncmp(name, NODELBL, NLBLLEN))
        fprintf(stderr,
@@ -656,7 +656,7 @@ static void endElementHandler(void *userData, const char *name)
            setAttr(name, value, ud, false);
            break;
        case TAG_NODE:
-           setGlobalNodeAttr(G, name, value, ud);
+           setGlobalNodeAttr(G, name, value);
            break;
        case TAG_EDGE:
            setGlobalEdgeAttr(G, name, value, ud);