From 7e9c3f4465c80ae3ffa4f603d22564f649de7770 Mon Sep 17 00:00:00 2001 From: Renan S Date: Wed, 12 Jun 2024 12:09:45 -0700 Subject: [PATCH] 560 bug remove unused line (#561) * remove unused line * remove old code * remove other unused line --- src/pq_flash_index.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pq_flash_index.cpp b/src/pq_flash_index.cpp index 265f266bd..491614a42 100644 --- a/src/pq_flash_index.cpp +++ b/src/pq_flash_index.cpp @@ -674,8 +674,6 @@ inline bool PQFlashIndex::point_has_label(uint32_t point_id, LabelT l template bool PQFlashIndex::point_has_any_label(uint32_t point_id, const std::vector &label_ids) { - uint32_t start_vec = _pts_to_label_offsets[point_id]; - uint32_t num_lbls = _pts_to_label_counts[start_vec]; bool ret_val = false; for (auto &cur_lbl : label_ids) {