From 13d3bae99bd2159aedd6121e36b858680012cf95 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Mon, 22 Jan 2024 18:43:26 -0800 Subject: [PATCH] Less space [skip ci] --- src/hnsw.h | 2 -- src/hnswutils.c | 1 - 2 files changed, 3 deletions(-) diff --git a/src/hnsw.h b/src/hnsw.h index 2a2c19b..dd485ea 100644 --- a/src/hnsw.h +++ b/src/hnsw.h @@ -114,8 +114,6 @@ /* Variables */ extern int hnsw_ef_search; - -/* This is initialized when the module is loaded */ extern int hnsw_lock_tranche_id; typedef struct HnswElementData HnswElementData; diff --git a/src/hnswutils.c b/src/hnswutils.c index 551e089..1f1a333 100644 --- a/src/hnswutils.c +++ b/src/hnswutils.c @@ -971,7 +971,6 @@ CheckElementCloser(char *base, HnswCandidate * e, List *r, int lc, FmgrInfo *pro { HnswCandidate *ri = lfirst(lc2); HnswElement riElement = HnswPtrAccess(base, ri->element); - float distance = HnswGetDistance(base, eElement, riElement, lc, procinfo, collation); if (distance <= e->distance)