Skip to content

Commit 65f233e

Browse files
jreiffersyuxuanchen1997
authored andcommitted
[mlir] Fix unused-variable warning w/o assertions. (#99489)
Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: Differential Revision: https://phabricator.intern.facebook.com/D60250923
1 parent d20835e commit 65f233e

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)