From ce44da04e19607b03109d28f76c9562aa218f0a7 Mon Sep 17 00:00:00 2001 From: Gxz <52496626+guoxiangzhou@users.noreply.github.com> Date: Thu, 23 Apr 2020 11:02:39 +0800 Subject: [PATCH] unused var: s (#2042) Signed-off-by: guoxiangzhou <8188755@qq.com> --- core/src/utils/CommonUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/utils/CommonUtil.cpp b/core/src/utils/CommonUtil.cpp index 361a06b02..39c510f56 100644 --- a/core/src/utils/CommonUtil.cpp +++ b/core/src/utils/CommonUtil.cpp @@ -256,7 +256,7 @@ CommonUtil::EraseFromCache(const std::string& item_key) { #ifdef MILVUS_GPU_VERSION server::Config& config = server::Config::GetInstance(); std::vector gpus; - Status s = config.GetGpuResourceConfigSearchResources(gpus); + config.GetGpuResourceConfigSearchResources(gpus); for (auto& gpu : gpus) { cache::GpuCacheMgr::GetInstance(gpu)->EraseItem(item_key); } -- GitLab