Skip to content

Commit 8694c34

Browse files
committed
remove useless field
1 parent a87e193 commit 8694c34

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mlir/lib/Bindings/Python/Rewrite.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace {
2929
class PyPatternRewriter {
3030
public:
3131
PyPatternRewriter(MlirPatternRewriter rewriter)
32-
: rewriter(rewriter), base(mlirPatternRewriterAsBase(rewriter)),
32+
: base(mlirPatternRewriterAsBase(rewriter)),
3333
ctx(PyMlirContext::forContext(mlirRewriterBaseGetContext(base))) {}
3434

3535
PyInsertionPoint getInsertionPoint() const {
@@ -46,7 +46,6 @@ class PyPatternRewriter {
4646
}
4747

4848
private:
49-
MlirPatternRewriter rewriter [[maybe_unused]];
5049
MlirRewriterBase base;
5150
PyMlirContextRef ctx;
5251
};

0 commit comments

Comments
 (0)