From f1ab5676548ba76f221599649538b72c31ec9b4c Mon Sep 17 00:00:00 2001 From: Alex Henrie Date: Sun, 24 Jan 2021 17:29:35 -0700 Subject: [PATCH] Remove dead assignments from self(Bottom|Top|Right|Left) --- lib/common/splines.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/common/splines.c b/lib/common/splines.c index d6f0d0c6b..92ecc96f7 100644 --- a/lib/common/splines.c +++ b/lib/common/splines.c @@ -834,7 +834,6 @@ static void selfBottom (edge_t* edges[], int ind, int cnt, stepx = (sizex / 2.) / cnt; stepx = MAX(stepx,2.); - pointn = 0; np = ND_coord(n); tp = ED_tail_port(e).p; tp.x += np.x; @@ -905,7 +904,6 @@ selfTop (edge_t* edges[], int ind, int cnt, double sizex, double stepy, stepx = (sizex / 2.) / cnt; stepx = MAX(stepx, 2.); - pointn = 0; np = ND_coord(n); tp = ED_tail_port(e).p; tp.x += np.x; @@ -1010,7 +1008,6 @@ selfRight (edge_t* edges[], int ind, int cnt, double stepx, double sizey, stepy = (sizey / 2.) / cnt; stepy = MAX(stepy, 2.); - pointn = 0; np = ND_coord(n); tp = ED_tail_port(e).p; tp.x += np.x; @@ -1083,7 +1080,6 @@ selfLeft (edge_t* edges[], int ind, int cnt, double stepx, double sizey, stepy = (sizey / 2.) / cnt; stepy = MAX(stepy,2.); - pointn = 0; np = ND_coord(n); tp = ED_tail_port(e).p; tp.x += np.x; -- 2.40.0