From 31572a7b2818d5c009b4ee8780a830c413f80599 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Mon, 22 Jan 2024 19:00:45 -0800 Subject: [PATCH] Removed unused parameter [skip ci] --- src/hnswutils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hnswutils.c b/src/hnswutils.c index 02d9a2b..9a206b3 100644 --- a/src/hnswutils.c +++ b/src/hnswutils.c @@ -913,7 +913,7 @@ SelectNeighbors(List *c, int m, int lc, FmgrInfo *procinfo, Oid collation, HnswE * Add connections */ static void -AddConnections(HnswElement element, List *neighbors, int m, int lc) +AddConnections(HnswElement element, List *neighbors, int lc) { ListCell *lc2; HnswNeighborArray *a = HnswGetNeighbors(element, lc); @@ -1092,7 +1092,7 @@ HnswInsertElement(HnswElement element, HnswElement entryPoint, Relation index, F */ neighbors = SelectNeighbors(lw, lm, lc, procinfo, collation, element, NULL, NULL, false); - AddConnections(element, neighbors, lm, lc); + AddConnections(element, neighbors, lc); ep = w; }