diff --git a/go/ql/src/RedundantCode/RedundantExpr.ql b/go/ql/src/RedundantCode/RedundantExpr.ql index eaf3d5be3d2d..c4b0ea912f53 100644 --- a/go/ql/src/RedundantCode/RedundantExpr.ql +++ b/go/ql/src/RedundantCode/RedundantExpr.ql @@ -71,10 +71,6 @@ class AverageExpr extends PotentiallyRedundantExpr, AddExpr { this.getLeftOperand().getKind() = this.getRightOperand().getKind() ) } - - override predicate operands(Expr left, Expr right) { - left = this.getLeftOperand() and right = this.getRightOperand() - } } /** Gets the hash of `nd`, which is the `i`th operand of `red`. */