Skip to content

Commit 0df3dd6

Browse files
committed
Python: Remove (now) redundant cast
1 parent 1bd969c commit 0df3dd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/lib/semmle/python/dataflow/new/internal/DataFlowDispatch.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1169,7 +1169,7 @@ predicate getCallArg(CallNode call, Function target, CallType type, Node arg, Ar
11691169
// that argument index 1 of call has argument position 0
11701170
type instanceof CallTypeMethodAsPlainFunction and
11711171
(
1172-
apos.isSelf() and arg.asCfgNode() = call.(CallNode).getArg(0)
1172+
apos.isSelf() and arg.asCfgNode() = call.getArg(0)
11731173
or
11741174
not apos.isPositional(_) and normalCallArg(call, arg, apos)
11751175
or

0 commit comments

Comments
 (0)