From 9fd861936985977f5eceb3d2fc00c873f29e8bd1 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Mon, 7 Sep 2020 16:21:37 -0700 Subject: [PATCH] remove unused tritop variable --- lib/ortho/trapezoid.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/ortho/trapezoid.c b/lib/ortho/trapezoid.c index 98bf455db..812ee39a7 100644 --- a/lib/ortho/trapezoid.c +++ b/lib/ortho/trapezoid.c @@ -430,7 +430,7 @@ add_segment (int segnum, segment_t* seg, trap_t* tr, qnode_t* qs) int tfirstr = 0, tlastr = 0, tfirstl = 0, tlastl = 0; int i1, i2, t, tn; pointf tpt; - int tritop = 0, tribot = 0, is_swapped; + int tribot = 0, is_swapped; int tmptriseg; s = seg[segnum]; @@ -501,7 +501,6 @@ add_segment (int segnum, segment_t* seg, trap_t* tr, qnode_t* qs) else /* v0 already present */ { /* Get the topmost intersecting trapezoid */ tfirst = locate_endpoint(&s.v0, &s.v1, s.root0, seg, qs); - tritop = 1; } -- 2.40.0