diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-09-12 13:14:02 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-09-12 15:02:01 +0200 |
commit | f8d6a93611eacd2c71c57cb09f4ba307ed38a1fc (patch) | |
tree | 730bf55b4674aab2f68acfbbfd262a35512c16c4 | |
parent | b2f15fdbaa7556cdf68e12bd02173e8ef62417dd (diff) | |
download | justbuild-f8d6a93611eacd2c71c57cb09f4ba307ed38a1fc.tar.gz |
Remove unused variables
-rw-r--r-- | src/buildtool/file_system/git_repo.cpp | 2 | ||||
-rw-r--r-- | test/buildtool/execution_engine/executor/executor_api.test.hpp | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/buildtool/file_system/git_repo.cpp b/src/buildtool/file_system/git_repo.cpp index f2f7b042..791d5996 100644 --- a/src/buildtool/file_system/git_repo.cpp +++ b/src/buildtool/file_system/git_repo.cpp @@ -877,8 +877,6 @@ auto GitRepo::FetchFromPath(std::shared_ptr<git_config> cfg, // wrap remote object auto remote = std::unique_ptr<git_remote, decltype(&remote_closer)>( remote_ptr, remote_closer); - // get the canonical url - auto canonical_url = std::string(git_remote_url(remote.get())); // get a well-defined config file if (not cfg) { diff --git a/test/buildtool/execution_engine/executor/executor_api.test.hpp b/test/buildtool/execution_engine/executor/executor_api.test.hpp index 24abbb78..c898d9e8 100644 --- a/test/buildtool/execution_engine/executor/executor_api.test.hpp +++ b/test/buildtool/execution_engine/executor/executor_api.test.hpp @@ -575,7 +575,6 @@ static inline void TestRetrieveOutputDirectories( int /*expected_queued*/ = 0, int /*expected_cached*/ = 0) { SetupConfig(repo_config); - auto tmpdir = GetTestDir(); HashFunction const hash_function{Compatibility::IsCompatible() ? HashFunction::Type::PlainSHA256 |