From: Matthew Fernandez Date: Sun, 7 Nov 2021 19:12:53 +0000 (-0800) Subject: tri: remove shadowing of 'v1' X-Git-Tag: 2.50.0~41^2~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=609e2720804180fa18af22d121cc04a26a786c7d;p=graphviz tri: remove shadowing of 'v1' --- diff --git a/lib/neatogen/delaunay.c b/lib/neatogen/delaunay.c index a09880d1e..6e12dd3ab 100644 --- a/lib/neatogen/delaunay.c +++ b/lib/neatogen/delaunay.c @@ -193,14 +193,14 @@ tri(double *x, double *y, int npt, int *segs, int nsegs, int sepArr) t->e1, t->e2, t->e3)); for (i = 0; i < npt; i++) { - GtsVertex *v1 = (GtsVertex *) vertices[i]; - GtsVertex *v = gts_delaunay_add_vertex(surface, v1, NULL); + GtsVertex *v4 = (GtsVertex *)vertices[i]; + GtsVertex *v = gts_delaunay_add_vertex(surface, v4, NULL); /* if v != NULL, it is a previously added pt with the same - * coordinates as v1, in which case we replace v1 with v + * coordinates as v4, in which case we replace v4 with v */ if (v) { - gts_vertex_replace (v1, v); + gts_vertex_replace(v4, v); } }