From ed6df958a23b140f267f25a247215202cb758c88 Mon Sep 17 00:00:00 2001
From: Cedric Caffy <cedric.caffy@cern.ch>
Date: Tue, 20 Oct 2020 15:49:08 +0200
Subject: [PATCH] Should fix memory leak issue with
 GarbageCollectorRetrieveAllStatusesAndQueues

---
 objectstore/GarbageCollectorTest.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/objectstore/GarbageCollectorTest.cpp b/objectstore/GarbageCollectorTest.cpp
index c9310dbf5b..e77278fc0f 100644
--- a/objectstore/GarbageCollectorTest.cpp
+++ b/objectstore/GarbageCollectorTest.cpp
@@ -1106,7 +1106,6 @@ TEST(ObjectStore, GarbageCollectorRetrieveAllStatusesAndQueues) {
   cta::catalogue::DummyCatalogue catalogue;
   // Here we check that can successfully call RetrieveRequests's garbage collector
   cta::objectstore::BackendVFS be;
-  std::string backendPath = be.getParams()->getPath();
   // Create the root entry
   cta::objectstore::RootEntry re(be);
   re.initialize();
-- 
GitLab