Skip to content

Commit 5bfa16c

Browse files
[mlir] Fix an unused variable warning
This patch fixes: mlir/test/lib/IR/TestBytecodeRoundtrip.cpp:403:10: error: unused variable 'status' [-Werror,-Wunused-variable]
1 parent 8c0e296 commit 5bfa16c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mlir/test/lib/IR/TestBytecodeRoundtrip.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,7 @@ struct TestBytecodeRoundtripPass
402402
// Downgrade IR constructs before writing the IR to bytecode.
403403
auto status = downgradeToVersion(op, targetEmissionVersion);
404404
assert(succeeded(status) && "expected the downgrade to succeed");
405+
(void)status;
405406

406407
BytecodeWriterConfig writeConfig;
407408
writeConfig.setDialectVersion<test::TestDialect>(

0 commit comments

Comments
 (0)