Skip to content

Commit c8fcfe1

Browse files
author
Vasileios Porpodas
committed
[SandboxIR][NFC] Fix unittest build warning in release
1 parent 5bb1ce8 commit c8fcfe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/unittests/SandboxIR/PassTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ TEST_F(PassTest, ParsePassPipeline) {
179179
Registry.registerPass(std::make_unique<TestPass1>());
180180
Registry.registerPass(std::make_unique<TestPass2>());
181181

182-
auto &FPM =
182+
[[maybe_unused]] auto &FPM =
183183
Registry.parseAndCreatePassPipeline("test-pass1,test-pass2,test-pass1");
184184
#ifndef NDEBUG
185185
std::string Buff;

0 commit comments

Comments
 (0)