From: Matthew Fernandez Date: Thu, 11 Nov 2021 04:19:57 +0000 (-0800) Subject: addNodeLabelGraphics: remove unused 'xb' parameter X-Git-Tag: 2.50.0~29^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0117017bbf97a38cc6208ca74a3267e5dded097a;p=graphviz addNodeLabelGraphics: remove unused 'xb' parameter --- diff --git a/cmd/tools/gmlparse.y b/cmd/tools/gmlparse.y index e22a9732f..44854c5ef 100644 --- a/cmd/tools/gmlparse.y +++ b/cmd/tools/gmlparse.y @@ -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