mirror of
https://github.com/pgvector/pgvector.git
synced 2026-12-05 00:38:39 +00:00
Fixed compiler warning from previous commit
This commit is contained in:
1 parent
59962f91dd
commit
821450e63b
1 file changed
+1
-1
+1
-1
@@ -387,7 +387,7 @@ RepairGraph(HnswVacuumState * vacuumstate)
|
||||
Relation index = vacuumstate->index;
|
||||
BufferAccessStrategy bas = vacuumstate->bas;
|
||||
BlockNumber blkno = HNSW_HEAD_BLKNO;
|
||||
BlockNumber totalBlocks;
|
||||
BlockNumber totalBlocks = InvalidBlockNumber; /* avoid compiler warning */
|
||||
#if PG_VERSION_NUM >= 200000
|
||||
bool reportProgress = vacuumstate->info->report_progress;
|
||||
#else
|
||||
|
||||
Reference in new issue
Block a user