Skip to content

Commit 4785048

Browse files
yoffRasmusWL
andauthored
Apply suggestions from code review
Co-authored-by: Rasmus Wriedt Larsen <[email protected]>
1 parent c8b87f7 commit 4785048

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

python/ql/test/experimental/dataflow/coverage/argumentRoutingTest.ql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,10 @@ class Argument1ExtraRoutingConfig extends DataFlow::Configuration {
6767

6868
override predicate isSource(DataFlow::Node node) {
6969
exists(AssignmentDefinition def, DataFlow::CallCfgNode call |
70-
// def.getVariable() = node.(DataFlow::EssaNode).getVar() and
7170
def.getDefiningNode() = node.(DataFlow::CfgNode).getNode() and
7271
def.getValue() = call.getNode() and
7372
call.getFunction().asCfgNode().(NameNode).getId().matches("With\\_%")
7473
) and
75-
// node.(DataFlow::EssaNode).getVar().getName().matches("with\\_%")
7674
node.(DataFlow::CfgNode).getNode().(NameNode).getId().matches("with\\_%")
7775
}
7876

0 commit comments

Comments
 (0)