mirror of
https://github.com/github/codeql.git
synced 2026-06-18 19:31:11 +02:00
add explicit this
This commit is contained in:
@@ -53,7 +53,7 @@ private class FileSetRedableMethodAccess extends MethodAccess {
|
||||
private predicate isCallToSecondArgumentWithValue(boolean value) {
|
||||
this.getMethod().getNumberOfParameters() = 1 and value = true
|
||||
or
|
||||
isCallWithArgument(1, value)
|
||||
this.isCallWithArgument(1, value)
|
||||
}
|
||||
|
||||
private predicate isCallWithArgument(int index, boolean arg) {
|
||||
|
||||
Reference in New Issue
Block a user