mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
C++: remove unneeded cast
This commit is contained in:
@@ -21,7 +21,7 @@ class TestAllocationConfig extends TaintTracking::Configuration {
|
||||
sink.(DataFlow::ExprNode).getConvertedExpr() = call.getAnArgument()
|
||||
or
|
||||
call.getTarget().getName() = "sink" and
|
||||
sink.(DataFlow::ExprNode).asExpr() = call.getAnArgument() and
|
||||
sink.asExpr() = call.getAnArgument() and
|
||||
sink.(DataFlow::ExprNode).getConvertedExpr() instanceof ReferenceDereferenceExpr
|
||||
)
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user