From 6fea6a17deae50af37a519ff7fb46e706cb7020c Mon Sep 17 00:00:00 2001 From: lieve <645417202@qq.com> Date: Sat, 25 Apr 2020 11:43:14 +0800 Subject: [PATCH] Unused variable: offsets Signed-off-by: lieve <645417202@qq.com> Signed-off-by: lizhengxie --- core/src/db/DBImpl.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/core/src/db/DBImpl.cpp b/core/src/db/DBImpl.cpp index cdeebbd7b0..a3e3b14b97 100644 --- a/core/src/db/DBImpl.cpp +++ b/core/src/db/DBImpl.cpp @@ -1165,7 +1165,6 @@ DBImpl::GetVectorByIdHelper(const std::string& collection_id, IDNumber vector_id // Check if the id is present in bloom filter. if (id_bloom_filter_ptr->Check(vector_id)) { // Load uids and check if the id is indeed present. If yes, find its offset. - std::vector offsets; std::vector uids; auto status = segment_reader.LoadUids(uids); if (!status.ok()) {