Skip to content

Commit b1ac027

Browse files
authored
Merge pull request #17991 from igfoo/igfoo/redundant
Go: Remove a redundant override
2 parents c8c15a0 + 50b9702 commit b1ac027

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

go/ql/src/RedundantCode/RedundantExpr.ql

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,6 @@ class AverageExpr extends PotentiallyRedundantExpr, AddExpr {
7171
this.getLeftOperand().getKind() = this.getRightOperand().getKind()
7272
)
7373
}
74-
75-
override predicate operands(Expr left, Expr right) {
76-
left = this.getLeftOperand() and right = this.getRightOperand()
77-
}
7874
}
7975

8076
/** Gets the hash of `nd`, which is the `i`th operand of `red`. */

0 commit comments

Comments
 (0)