mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
Remove superflous instanceof
This commit is contained in:
@@ -180,7 +180,6 @@ class ParameterToReturnValueTaintConfig extends TaintTracking::Configuration {
|
||||
|
||||
override predicate isSource(DataFlow::Node source) {
|
||||
exists(TargetAPI api |
|
||||
source instanceof DataFlow::ParameterNode and
|
||||
api = source.asParameter().getCallable() and
|
||||
isRelevantType(api.getReturnType()) and
|
||||
isRelevantType(source.asParameter().getType())
|
||||
|
||||
Reference in New Issue
Block a user