mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
remove redundant not-equals check
This commit is contained in:
@@ -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)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user