[mlir] Fix unused-variable warning w/o assertions. (#99489)
This commit is contained in:
parent
561246e902
commit
15495b8cd4
@ -68,6 +68,8 @@ void testInsertionPoint(MlirContext ctx) {
|
||||
// Get insertion blocks
|
||||
MlirBlock block1 = mlirRewriterBaseGetBlock(rewriter);
|
||||
MlirBlock block2 = mlirRewriterBaseGetInsertionBlock(rewriter);
|
||||
(void)block1;
|
||||
(void)block2;
|
||||
assert(body.ptr == block1.ptr);
|
||||
assert(body.ptr == block2.ptr);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user