Skip to content

Commit bafbd37

Browse files
committed
removed redundant code
1 parent 5d0bf4f commit bafbd37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/include/mlir/Query/Matcher/MatchFinder.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ class MatchFinder {
5050
printMatch(os, qs, subOp, "root");
5151
} else {
5252
SmallVector<Operation *> printingOps;
53-
size_t sizeBefore = matchedOps.size();
53+
5454
if (matcher.match(subOp, tempStorage, options)) {
5555
os << "Match #" << ++matchCount << ":\n\n";
5656
SmallVector<Operation *> printingOps(tempStorage.takeVector());
5757
for (auto op : printingOps) {
58-
printMatch(os, qs, op, ""); // Using version without binding text
58+
printMatch(os, qs, op, "");
5959
matchedOps.insert(op);
6060
}
6161
printingOps.clear();

0 commit comments

Comments
 (0)