mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-03 19:20:56 +08:00
[src/hnswutils.c] Resolve 1 -Wmaybe-uninitialized (#654)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user