C++: remove unneeded cast

This commit is contained in:
Robert Marsh
2020-09-18 15:00:01 -07:00
parent c179a07fc7
commit 12be90a6af

View File

@@ -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