From: Matthew Fernandez Date: Mon, 28 Nov 2022 00:36:54 +0000 (-0800) Subject: sparse QuadTree_get_supernodes_internal: remove unused 'flag' parameter X-Git-Tag: 7.0.4~3^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ea3d0e39f6cb33f39fd88e64fbdbdb040e832e9;p=graphviz sparse QuadTree_get_supernodes_internal: remove unused 'flag' parameter --- diff --git a/lib/sparse/QuadTree.c b/lib/sparse/QuadTree.c index 6b322b428..a12a42ba9 100644 --- a/lib/sparse/QuadTree.c +++ b/lib/sparse/QuadTree.c @@ -74,7 +74,7 @@ static void check_or_realloc_arrays(int dim, int *nsuper, int *nsupermax, double } } -static void QuadTree_get_supernodes_internal(QuadTree qt, double bh, double *point, int nodeid, int *nsuper, int *nsupermax, double **center, double **supernode_wgts, double **distances, double *counts, int *flag){ +static void QuadTree_get_supernodes_internal(QuadTree qt, double bh, double *point, int nodeid, int *nsuper, int *nsupermax, double **center, double **supernode_wgts, double **distances, double *counts) { SingleLinkedList l; double *coord, dist; int dim, i; @@ -113,7 +113,7 @@ static void QuadTree_get_supernodes_internal(QuadTree qt, double bh, double *poi } else { for (i = 0; i < 1<qts[i], bh, point, nodeid, nsuper, nsupermax, center, - supernode_wgts, distances, counts, flag); + supernode_wgts, distances, counts); } } } @@ -133,7 +133,7 @@ void QuadTree_get_supernodes(QuadTree qt, double bh, double *point, int nodeid, if (!*center) *center = MALLOC(sizeof(double)*(*nsupermax)*dim); if (!*supernode_wgts) *supernode_wgts = MALLOC(sizeof(double)*(*nsupermax)); if (!*distances) *distances = MALLOC(sizeof(double)*(*nsupermax)); - QuadTree_get_supernodes_internal(qt, bh, point, nodeid, nsuper, nsupermax, center, supernode_wgts, distances, counts, flag); + QuadTree_get_supernodes_internal(qt, bh, point, nodeid, nsuper, nsupermax, center, supernode_wgts, distances, counts); }