From 31fc297744ae6d55fac482c17233f29345f88699 Mon Sep 17 00:00:00 2001 From: Mark Hansen Date: Tue, 27 Sep 2022 18:07:30 +1000 Subject: [PATCH] Remove unused articulation_pos attribute This is never read, and seems to never have been, even going back to the initial Graphviz git commit 17 years ago. Towards https://gitlab.com/graphviz/graphviz.gitlab.io/-/issues/75 --- lib/circogen/circular.c | 3 --- lib/circogen/circular.h | 1 - 2 files changed, 4 deletions(-) diff --git a/lib/circogen/circular.c b/lib/circogen/circular.c index 6bd22a254..95a858446 100644 --- a/lib/circogen/circular.c +++ b/lib/circogen/circular.c @@ -24,7 +24,6 @@ static void initGraphAttrs(Agraph_t * g, circ_state * state) { static Agraph_t *rootg; - static attrsym_t *N_artpos; static attrsym_t *N_root; static attrsym_t *G_mindist; static char *rootname; @@ -36,14 +35,12 @@ static void initGraphAttrs(Agraph_t * g, circ_state * state) state->blockCount = 0; rootg = rg; G_mindist = agattr(rootg,AGRAPH, "mindist", NULL); - N_artpos = agattr(rootg,AGNODE, "articulation_pos", NULL); N_root = agattr(rootg,AGNODE, "root", NULL); } rootname = agget(rootg, "root"); initBlocklist(&state->bl); state->orderCount = 1; state->min_dist = late_double(rootg, G_mindist, MINDIST, 0.0); - state->N_artpos = N_artpos; state->N_root = N_root; state->rootname = rootname; } diff --git a/lib/circogen/circular.h b/lib/circogen/circular.h index 1778c27f0..73043f7e5 100644 --- a/lib/circogen/circular.h +++ b/lib/circogen/circular.h @@ -17,7 +17,6 @@ typedef struct { blocklist_t bl; int orderCount; int blockCount; - attrsym_t *N_artpos; attrsym_t *N_root; char *rootname; double min_dist; -- 2.40.0