From f6ebc5d7089195316bc0426ec8dc386c36076a4e Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Fri, 20 Sep 2024 13:56:27 -0700 Subject: [PATCH] Fixed warning [skip ci] --- src/hnswutils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hnswutils.c b/src/hnswutils.c index 5a114b3..047e6a0 100644 --- a/src/hnswutils.c +++ b/src/hnswutils.c @@ -938,14 +938,14 @@ HnswSearchLayer(char *base, Datum q, List *ep, int ef, int lc, Relation index, F /* No need to decrement wlen */ if (wlen > ef) { - HnswPairingHeapNode *node = pairingheap_container(HnswPairingHeapNode, w_node, pairingheap_remove_first(W)); - HnswCandidate *hc = node->inner; + HnswPairingHeapNode *furthestNode = pairingheap_container(HnswPairingHeapNode, w_node, pairingheap_remove_first(W)); + HnswCandidate *hc = furthestNode->inner; if (discarded != NULL) *discarded = lappend(*discarded, hc); /* TODO */ - /* pfree(node); */ + /* pfree(furthestNode); */ } } }