From: Matthew Fernandez Date: Tue, 8 Sep 2020 00:18:32 +0000 (-0700) Subject: remove unused width height variable from selfBottom X-Git-Tag: 2.46.0~20^2^2~82^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=af52acfe6014c3443533a98af89a99f7045f184b;p=graphviz remove unused width height variable from selfBottom --- 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;