From: Matthew Fernandez Date: Mon, 7 Sep 2020 23:21:37 +0000 (-0700) Subject: remove unused tritop variable X-Git-Tag: 2.46.0~20^2^2~82^2~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9fd861936985977f5eceb3d2fc00c873f29e8bd1;p=graphviz remove unused tritop variable --- 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; }