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()) {