Skip to content

Commit

Permalink
Merge pull request #17991 from igfoo/igfoo/redundant
Browse files Browse the repository at this point in the history
Go: Remove a redundant override
  • Loading branch information
igfoo authored Nov 15, 2024
2 parents c8c15a0 + 50b9702 commit b1ac027
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions go/ql/src/RedundantCode/RedundantExpr.ql
Original file line number Diff line number Diff line change
Expand Up @@ -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`. */
Expand Down

0 comments on commit b1ac027

Please sign in to comment.