remove redundant not-equals check

This commit is contained in:
Erik Krogh Kristensen
2022-07-13 12:06:12 +02:00
parent a4262f8d91
commit 595875ff98
4 changed files with 0 additions and 4 deletions

View File

@@ -244,7 +244,6 @@ RegExpCharacterRange getABadRange(string reason, int priority) {
priority = 1 and
exists(RegExpCharacterRange other |
reason = "overlaps with " + other + " in the same character class" and
result != other and
rankRange(result) < rankRange(other) and
overlap(result, other)
)