Skip to content

Commit 12be90a

Browse files
author
Robert Marsh
committed
C++: remove unneeded cast
1 parent c179a07 commit 12be90a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/test/library-tests/dataflow/taint-tests/IRTaintTestCommon.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class TestAllocationConfig extends TaintTracking::Configuration {
2121
sink.(DataFlow::ExprNode).getConvertedExpr() = call.getAnArgument()
2222
or
2323
call.getTarget().getName() = "sink" and
24-
sink.(DataFlow::ExprNode).asExpr() = call.getAnArgument() and
24+
sink.asExpr() = call.getAnArgument() and
2525
sink.(DataFlow::ExprNode).getConvertedExpr() instanceof ReferenceDereferenceExpr
2626
)
2727
or

0 commit comments

Comments
 (0)