summaryrefslogtreecommitdiff
path: root/src/other_tools/root_maps/root_utils.cpp
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2024-12-16 13:37:08 +0100
committerOliver Reiche <oliver.reiche@huawei.com>2024-12-19 16:17:46 +0100
commit0d1223d10057c563f019fd4699a82e0af9da9111 (patch)
tree0771e45bbf0cd1b37744595affcd0ba71eb29da1 /src/other_tools/root_maps/root_utils.cpp
parent0042c50301d2e959e9e7487f0f4ab37cef245979 (diff)
downloadjustbuild-0d1223d10057c563f019fd4699a82e0af9da9111.tar.gz
Remove unneeded compat_storage
Diffstat (limited to 'src/other_tools/root_maps/root_utils.cpp')
-rw-r--r--src/other_tools/root_maps/root_utils.cpp8
1 files changed, 2 insertions, 6 deletions
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<StorageConfig const*> 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}},