mirror of
https://github.com/github/codeql.git
synced 2026-02-23 18:33:42 +01:00
Apply suggestion from @geoffw0
Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com>
This commit is contained in:
@@ -266,7 +266,7 @@ class IgnorablePointerOrCharArithmetic extends IgnorableOperation {
|
||||
}
|
||||
|
||||
/**
|
||||
* Holds for an expression that is a operation that could flow to a Year field.
|
||||
* Holds for an expression that is an add or similar operation that could flow to a Year field.
|
||||
*/
|
||||
predicate isOperationSourceCandidate(Expr e) {
|
||||
not e instanceof IgnorableOperation and
|
||||
|
||||
Reference in New Issue
Block a user