mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Crypto: Comment in Language.qll
This commit is contained in:
@@ -58,9 +58,9 @@ private class GenericUnreferencedParameterSource extends Crypto::GenericUnrefere
|
||||
exists(Parameter p |
|
||||
this = p and
|
||||
not exists(p.getAnArgument())
|
||||
// TODO: this is test code which causes regression in unit tests, but will
|
||||
// find sources where ordinarily a source might be missing
|
||||
// or
|
||||
// // TODO: this is test code which causes regression in unit tests, but will
|
||||
// // find sources where ordinarily a source might be missing
|
||||
// // If all calls to a function occur in a test file, ignore those calls
|
||||
// // and consider the parameter to the function a potential source as well.
|
||||
// forall(Call testCall | testCall.getCallee() = p.getCallable() |
|
||||
|
||||
Reference in New Issue
Block a user