[src/hnswutils.c] Resolve 1 -Wmaybe-uninitialized (#654)

This commit is contained in:
Samuel Marks
2024-08-22 21:51:16 -05:00
committed by GitHub
parent d0dbc8b4d1
commit 4cede1a9c9

View File

@@ -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);