From f8d6a93611eacd2c71c57cb09f4ba307ed38a1fc Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Thu, 12 Sep 2024 13:14:02 +0200 Subject: Remove unused variables --- src/buildtool/file_system/git_repo.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/buildtool/file_system/git_repo.cpp') 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 cfg, // wrap remote object auto remote = std::unique_ptr( 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) { -- cgit v1.2.3