From ecc55ceb387beacab07b86a41b1d9b81ce757bcc Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Mon, 7 Sep 2020 17:22:21 -0700 Subject: [PATCH] remove unused height variable from selfRight --- lib/common/splines.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/common/splines.c b/lib/common/splines.c index 45b38348f..6e492d7c3 100644 --- a/lib/common/splines.c +++ b/lib/common/splines.c @@ -1072,7 +1072,7 @@ selfLeft (edge_t* edges[], int ind, int cnt, double stepx, double sizey, splineInfo* sinfo) { int i, sgn,point_pair; - double hx, tx, stepy, dx, dy, width, height; + double hx, tx, stepy, dx, dy, width; pointf tp, hp, np; node_t *n; edge_t *e; @@ -1126,10 +1126,8 @@ selfLeft (edge_t* edges[], int ind, int cnt, double stepx, double sizey, if (ED_label(e)) { if (GD_flip(agraphof(agtail(e)))) { width = ED_label(e)->dimen.y; - height = ED_label(e)->dimen.x; } else { width = ED_label(e)->dimen.x; - height = ED_label(e)->dimen.y; } ED_label(e)->pos.x = ND_coord(n).x - dx - width / 2.0; ED_label(e)->pos.y = ND_coord(n).y; -- 2.40.0