[NFC] Fix unused but set variable

Fixes https://github.com/llvm/llvm-project/pull/178017#issuecomment-3808860054.
This commit is contained in:
Hubert Tong
2026-01-28 00:25:22 -04:00
committed by GitHub
parent 2f92d44043
commit bf408aa842

View File

@@ -606,7 +606,7 @@ TEST(HostTest, AIXTargetVersionDetect) {
GTEST_SKIP(); // The version was configured explicitly; skip.
#ifdef LLVM_TARGET_TRIPLE_ENV
if (const char *EnvTriple = std::getenv(LLVM_TARGET_TRIPLE_ENV))
if (std::getenv(LLVM_TARGET_TRIPLE_ENV))
GTEST_SKIP(); // The target was configured by env; skip.
#endif