From 9deadefad12a7d1ab15f57784e66b74e526d067b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com>
Date: Sun, 18 Feb 2024 14:53:07 -0500
Subject: [PATCH] tools: cleanup

Change-Id: Ib46f62f0b2729011e5ed07f77129dd86227f8ca1
---
 tools/benchmark/main.cpp | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/tools/benchmark/main.cpp b/tools/benchmark/main.cpp
index af09152..068d133 100644
--- a/tools/benchmark/main.cpp
+++ b/tools/benchmark/main.cpp
@@ -69,11 +69,7 @@ setupHandler(const std::string& name,
     config->factory = factory;
     config->logger = logger;
     config->certStore = h->certStore;
-
-    std::filesystem::path currentPath = std::filesystem::current_path();
-    std::filesystem::path tempDirPath = currentPath / "temp";
-
-    config->cachePath = tempDirPath.string();
+    config->cachePath = std::filesystem::current_path() / "temp";
 
     h->connectionManager = std::make_shared<ConnectionManager>(config);
     h->connectionManager->onICERequest([](const DeviceId&) { return true; });
-- 
GitLab