mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Exclude .kt files from useless parameter query
This commit is contained in:
@@ -274,7 +274,7 @@ class DeadMethod extends Callable {
|
||||
|
||||
class RootdefCallable extends Callable {
|
||||
RootdefCallable() {
|
||||
this.fromSource() and
|
||||
this.getFile().isJavaSourceFile() and
|
||||
not this.(Method).overridesOrInstantiates(_)
|
||||
}
|
||||
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
| Test.kt:11:8:11:18 | a | The parameter 'a' is never used. |
|
||||
| Test.kt:19:5:19:5 | <this> | The parameter '<this>' is never used. |
|
||||
| Test.kt:24:9:24:14 | a | The parameter 'a' is never used. |
|
||||
|
||||
Reference in New Issue
Block a user