aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-05-04 09:38:16 -0700
committerGitHub <noreply@github.com>2025-05-04 09:38:16 -0700
commit2f3067ed69098d9eefb92eda17649bf450641889 (patch)
treee4d4b7cc9d9b616e249ba687ef0ca954e2d06c21 /llvm/unittests/Support
parentd144c13ae59501a61ff1524412bb289261618539 (diff)
downloadllvm-2f3067ed69098d9eefb92eda17649bf450641889.zip
llvm-2f3067ed69098d9eefb92eda17649bf450641889.tar.gz
llvm-2f3067ed69098d9eefb92eda17649bf450641889.tar.bz2
[llvm] Remove unused local variables (NFC) (#138454)
Diffstat (limited to 'llvm/unittests/Support')
-rw-r--r--llvm/unittests/Support/Path.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/unittests/Support/Path.cpp b/llvm/unittests/Support/Path.cpp
index 5e0092d..ef83fcb 100644
--- a/llvm/unittests/Support/Path.cpp
+++ b/llvm/unittests/Support/Path.cpp
@@ -824,8 +824,6 @@ TEST_F(FileSystemTest, RealPathNoReadPerm) {
ASSERT_NO_ERROR(fs::remove_directories(Twine(TestDirectory) + "/noreadperm"));
}
TEST_F(FileSystemTest, RemoveDirectoriesNoExePerm) {
- SmallString<64> Expanded;
-
ASSERT_NO_ERROR(
fs::create_directories(Twine(TestDirectory) + "/noexeperm/foo"));
ASSERT_TRUE(fs::exists(Twine(TestDirectory) + "/noexeperm/foo"));
@@ -965,7 +963,6 @@ TEST_F(FileSystemTest, TempFileCollisions) {
FileRemover Cleanup(TestDirectory);
SmallString<128> Model = TestDirectory;
path::append(Model, "%.tmp");
- SmallString<128> Path;
std::vector<fs::TempFile> TempFiles;
auto TryCreateTempFile = [&]() {