Skip to content

Commit 15495b8

Browse files
authored
[mlir] Fix unused-variable warning w/o assertions. (llvm#99489)
1 parent 561246e commit 15495b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mlir/test/CAPI/rewrite.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ void testInsertionPoint(MlirContext ctx) {
6868
// Get insertion blocks
6969
MlirBlock block1 = mlirRewriterBaseGetBlock(rewriter);
7070
MlirBlock block2 = mlirRewriterBaseGetInsertionBlock(rewriter);
71+
(void)block1;
72+
(void)block2;
7173
assert(body.ptr == block1.ptr);
7274
assert(body.ptr == block2.ptr);
7375

0 commit comments

Comments
 (0)