]> granicus.if.org Git - graphviz/commitdiff
addNodeLabelGraphics: remove unused 'xb' parameter
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 11 Nov 2021 04:19:57 +0000 (20:19 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 17 Nov 2021 02:37:31 +0000 (18:37 -0800)
cmd/tools/gmlparse.y

index e22a9732fbe911301cd72b077fbd131f5499d368..44854c5ef68258f7293eacad543b63b98eeceb6c 100644 (file)
@@ -464,9 +464,7 @@ unknown (Agobj_t* obj, gmlattr* ap, agxbuf* xb)
     agsafeset (obj, ap->name, str, "");
 }
 
-static void
-addNodeLabelGraphics (Agnode_t* np, Dt_t* alist, agxbuf* xb, agxbuf* unk)
-{
+static void addNodeLabelGraphics(Agnode_t* np, Dt_t* alist, agxbuf* unk) {
     gmlattr* ap;
     int cnt = 0;
 
@@ -717,7 +715,7 @@ addAttrs (Agobj_t* obj, Dt_t* alist, agxbuf* xb, agxbuf* unk)
        }
        else if (ap->sort == LABELGRAPHICS) {
            if (AGTYPE(obj) == AGNODE)
-               addNodeLabelGraphics ((Agnode_t*)obj, ap->u.lp, xb, unk);
+               addNodeLabelGraphics ((Agnode_t*)obj, ap->u.lp, unk);
            else if (AGTYPE(obj) == AGEDGE)
                addEdgeLabelGraphics ((Agedge_t*)obj, ap->u.lp, xb, unk);
            else