From: Matthew Fernandez Date: Sat, 23 Jul 2022 00:29:56 +0000 (-0700) Subject: neatogen voronoi: remove unused 'triangulate' parameter X-Git-Tag: 5.0.1~28^2~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ac0b9dcd4e0721124b77c8c66af0cbfaa217ffd7;p=graphviz neatogen voronoi: remove unused 'triangulate' parameter --- diff --git a/lib/neatogen/adjust.c b/lib/neatogen/adjust.c index 18b822ba8..73497c979 100644 --- a/lib/neatogen/adjust.c +++ b/lib/neatogen/adjust.c @@ -516,7 +516,7 @@ static int vAdjust(void) rmEquality(); geomUpdate(0); - voronoi(0, nextOne); + voronoi(nextOne); while (1) { newPos(); iterCnt++; @@ -544,7 +544,7 @@ static int vAdjust(void) } geomUpdate(1); - voronoi(0, nextOne); + voronoi(nextOne); } if (Verbose) { diff --git a/lib/neatogen/voronoi.c b/lib/neatogen/voronoi.c index 311b4f478..86a1b14e1 100644 --- a/lib/neatogen/voronoi.c +++ b/lib/neatogen/voronoi.c @@ -16,8 +16,7 @@ #include -void voronoi(int triangulate, Site * (*nextsite) (void)) -{ +void voronoi(Site * (*nextsite) (void)) { Site *newsite, *bot, *top, *temp, *p; Site *v; Point newintstar = {0}; diff --git a/lib/neatogen/voronoi.h b/lib/neatogen/voronoi.h index 7ee78456d..cd9c4a59d 100644 --- a/lib/neatogen/voronoi.h +++ b/lib/neatogen/voronoi.h @@ -16,7 +16,7 @@ extern "C" { #include - extern void voronoi(int, Site * (*)(void)); + extern void voronoi(Site * (*)(void)); #ifdef __cplusplus }