mirror of
https://github.com/github/codeql.git
synced 2026-05-04 21:25:44 +02:00
JavaScript: Remove omittable exists variables
This commit is contained in:
@@ -2,7 +2,7 @@ import javascript
|
||||
import semmle.javascript.dataflow.internal.FlowSteps as FlowSteps
|
||||
|
||||
query predicate argumentPassing(DataFlow::Node invk, DataFlow::Node arg, DataFlow::SourceNode parm) {
|
||||
exists(Function f | FlowSteps::argumentPassing(invk, arg, f, parm))
|
||||
FlowSteps::argumentPassing(invk, arg, _, parm)
|
||||
}
|
||||
|
||||
query predicate basicBlock(DataFlow::Node node, BasicBlock bb) { node.getBasicBlock() = bb }
|
||||
|
||||
Reference in New Issue
Block a user