Skip to content

Commit

Permalink
Go: Remove a redundant override
Browse files Browse the repository at this point in the history
  • Loading branch information
igfoo committed Nov 14, 2024
1 parent d7fbf68 commit 50b9702
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 50b9702

Please sign in to comment.