From af52acfe6014c3443533a98af89a99f7045f184b Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Mon, 7 Sep 2020 17:18:32 -0700 Subject: [PATCH] remove unused width height variable from selfBottom --- 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 b232bd79c..30df97140 100644 --- a/lib/common/splines.c +++ b/lib/common/splines.c @@ -826,7 +826,7 @@ static void selfBottom (edge_t* edges[], int ind, int cnt, node_t *n; edge_t *e; int i, sgn, point_pair; - double hy, ty, stepx, dx, dy, width, height; + double hy, ty, stepx, dx, dy, height; pointf points[1000]; int pointn; @@ -870,10 +870,8 @@ static void selfBottom (edge_t* edges[], int ind, int cnt, points[pointn++] = hp; 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.y = ND_coord(n).y - dy - height / 2.0; -- 2.50.1