From 4cede1a9c9a8351338832729ecdd8c441ede0425 Mon Sep 17 00:00:00 2001 From: Samuel Marks <807580+SamuelMarks@users.noreply.github.com> Date: Thu, 22 Aug 2024 21:51:16 -0500 Subject: [PATCH] [src/hnswutils.c] Resolve 1 `-Wmaybe-uninitialized` (#654) --- src/hnswutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hnswutils.c b/src/hnswutils.c index f7ce99a..96c5026 100644 --- a/src/hnswutils.c +++ b/src/hnswutils.c @@ -730,7 +730,7 @@ HnswSearchLayer(char *base, Datum q, List *ep, int ef, int lc, Relation index, F visited_hash v; ListCell *lc2; HnswNeighborArray *neighborhoodData = NULL; - Size neighborhoodSize; + Size neighborhoodSize = 0; InitVisited(base, &v, index, ef, m);