mirror of
https://github.com/github/codeql.git
synced 2026-02-28 21:03:50 +01:00
Java/C++: Minor dataflow cleanup.
This commit is contained in:
@@ -120,7 +120,7 @@ predicate jumpStep(Node node1, Node node2) {
|
||||
* Holds if `fa` is an access to an instance field that occurs as the
|
||||
* destination of an assignment of the value `src`.
|
||||
*/
|
||||
predicate instanceFieldAssign(Expr src, FieldAccess fa) {
|
||||
private predicate instanceFieldAssign(Expr src, FieldAccess fa) {
|
||||
exists(AssignExpr a |
|
||||
a.getSource() = src and
|
||||
a.getDest() = fa and
|
||||
|
||||
Reference in New Issue
Block a user