From 420d70dcc5a7e26e09a535faa79e94e5db0899a7 Mon Sep 17 00:00:00 2001 From: water32 Date: Sat, 25 Apr 2020 11:58:23 +0800 Subject: [PATCH] unused variable, just remove it. (#2082) Signed-off-by: water32 unused variable, just remove it. --- 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..11144e4e6f 100644 --- a/core/src/db/DBImpl.cpp +++ b/core/src/db/DBImpl.cpp @@ -1033,7 +1033,6 @@ DBImpl::GetVectorByID(const std::string& collection_id, const IDNumber& vector_i std::vector file_types{meta::SegmentSchema::FILE_TYPE::RAW, meta::SegmentSchema::FILE_TYPE::TO_INDEX, meta::SegmentSchema::FILE_TYPE::BACKUP}; - meta::SegmentsSchema collection_files; status = meta_ptr_->FilesByType(collection_id, file_types, files_to_query); if (!status.ok()) { std::string err_msg = "Failed to get files for GetVectorByID: " + status.message();