mirror of
https://github.com/github/codeql.git
synced 2026-02-19 16:33:40 +01:00
Remove unnecessary local flow inside type-tracking store step
This commit is contained in:
@@ -80,7 +80,7 @@ predicate basicStoreStep(Node nodeFrom, LocalSourceNode nodeTo, string content)
|
||||
content = getSetterCallAttributeName(call.getExpr()) and
|
||||
receiver.getExprNode().getNode() = call.getExpr().(AST::SetterMethodCall).getReceiver() and
|
||||
assignment.getRhs() = nodeFrom.(DataFlowPublic::ExprNode).getExprNode() and
|
||||
nodeTo.flowsTo(receiver)
|
||||
nodeTo = receiver
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user