From 0d1223d10057c563f019fd4699a82e0af9da9111 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Mon, 16 Dec 2024 13:37:08 +0100 Subject: Remove unneeded compat_storage --- src/other_tools/root_maps/root_utils.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/other_tools/root_maps/root_utils.cpp') diff --git a/src/other_tools/root_maps/root_utils.cpp b/src/other_tools/root_maps/root_utils.cpp index 13e18d06..b38aa43b 100644 --- a/src/other_tools/root_maps/root_utils.cpp +++ b/src/other_tools/root_maps/root_utils.cpp @@ -49,7 +49,6 @@ auto EnsureAbsentRootOnServe( std::filesystem::path const& repo_path, gsl::not_null const& native_storage_config, StorageConfig const* compat_storage_config, - Storage const* compat_storage, IExecutionApi const* local_api, IExecutionApi const* remote_api, AsyncMapConsumerLoggerPtr const& logger, @@ -71,11 +70,8 @@ auto EnsureAbsentRootOnServe( /*fatal=*/true); return false; } - auto git_api = MRGitApi{&repo, - native_storage_config, - compat_storage_config, - compat_storage, - local_api}; + auto git_api = MRGitApi{ + &repo, native_storage_config, compat_storage_config, local_api}; if (not git_api.RetrieveToCas( {Artifact::ObjectInfo{.digest = *native_digest, .type = ObjectType::Tree}}, -- cgit v1.2.3