Skip to content

Commit 09df055

Browse files
committed
Fix the exists cast warning
1 parent b04d568 commit 09df055

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/src/experimental/Security/UnsafeUnpackQuery.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class UnsafeUnpackingConfig extends TaintTracking::Configuration {
8484
// see wget: https://pypi.org/project/wget/
8585
exists(API::CallNode mcn |
8686
mcn = API::moduleImport("wget").getMember("download").getACall() and
87-
if exists(Node arg | arg = mcn.getArg(1))
87+
if exists(mcn.getArg(1))
8888
then source = mcn.getArg(1)
8989
else source = mcn.getReturn().asSource()
9090
)

0 commit comments

Comments
 (0)