Skip to content

Commit

Permalink
[mlir] Fix unused-variable warning w/o assertions. (#99489)
Browse files Browse the repository at this point in the history
  • Loading branch information
jreiffers authored Jul 18, 2024
1 parent 561246e commit 15495b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mlir/test/CAPI/rewrite.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 15495b8

Please sign in to comment.