summaryrefslogtreecommitdiff
path: root/src/buildtool/file_system/git_repo.cpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-09-30 12:16:43 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-10-07 13:37:39 +0200
commitce23db59c6399199fa55b4b7dc8880522e2f1bca (patch)
tree5b77d3c84289f023cbe6f4a81cf391a0087fe660 /src/buildtool/file_system/git_repo.cpp
parente5d7cb5ce5b9cc40b0c56b18980a4234118c1739 (diff)
downloadjustbuild-ce23db59c6399199fa55b4b7dc8880522e2f1bca.tar.gz
Enable readability-redundant-member-init check.
Diffstat (limited to 'src/buildtool/file_system/git_repo.cpp')
-rw-r--r--src/buildtool/file_system/git_repo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildtool/file_system/git_repo.cpp b/src/buildtool/file_system/git_repo.cpp
index 481c0461..4d5dfcb9 100644
--- a/src/buildtool/file_system/git_repo.cpp
+++ b/src/buildtool/file_system/git_repo.cpp
@@ -205,8 +205,8 @@ std::unordered_set<git_filemode_t> const kNonSpecialGitFileModes{
struct InMemoryODBBackend {
git_odb_backend parent;
- GitRepo::tree_entries_t const* entries{nullptr}; // object headers
- std::unordered_map<std::string, std::string> trees{}; // solid tree objects
+ GitRepo::tree_entries_t const* entries{nullptr}; // object headers
+ std::unordered_map<std::string, std::string> trees; // solid tree objects
};
[[nodiscard]] auto backend_read_header(size_t* len_p,