Skip to content

Commit a32b08f

Browse files
committed
Swift: remove redundant line.
1 parent e981a28 commit a32b08f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

swift/ql/src/queries/Security/CWE-079/UnsafeWebViewFetch.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ class Sink extends DataFlow::Node {
5050
call.getStaticTarget() = funcDecl and
5151
// match up `funcName`, `paramName`, `arg`, `node`.
5252
funcDecl.hasQualifiedName(className, funcName) and
53-
funcDecl.getName() = funcName and
5453
funcDecl.getParam(pragma[only_bind_into](arg)).getName() = paramName and
5554
call.getArgument(pragma[only_bind_into](arg)).getExpr() = this.asExpr() and
5655
// match up `baseURLArg`

0 commit comments

Comments
 (0)