mirror of
https://github.com/github/codeql.git
synced 2026-01-30 06:42:57 +01:00
Simplify a condition.
This commit is contained in:
@@ -150,7 +150,7 @@ module AllocationSizeOverflow {
|
||||
private predicate isSmall(Expr e) {
|
||||
isSmallType(e.getType())
|
||||
or
|
||||
exists(e.getExactValue())
|
||||
e.isConst()
|
||||
or
|
||||
exists(KeyValueExpr kv | kv = e |
|
||||
isSmall(kv.getKey()) and
|
||||
|
||||
Reference in New Issue
Block a user