pgvector.git / summary / log / commit / refs

commit    a6ab5d07c03de172100a12d2c49ab058c13b8e48
Author:   Andrew Kane <andrew@ankane.org>
Date:     Fri Sep 20 03:50:51 2024 +0000

    Fixed CI


src/hnswutils.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hnswutils.c b/src/hnswutils.c index fadd90dc..f69c057a 100644 --- a/src/hnswutils.c +++ b/src/hnswutils.c @@ -720,6 +720,9 @@ CountElement(HnswElement skipElement, HnswElement e) /* Ensure does not access heaptidsLength during in-memory build */ pg_memory_barrier(); + /* Keep scan-build happy on Mac x86-64 */ + Assert(e); + return e->heaptidsLength != 0; } [parent: aa77346103e2]