mirror of
https://github.com/github/codeql.git
synced 2026-05-01 11:45:14 +02:00
Merge pull request #10789 from tamasvajk/kotlin-useless-params
Kotlin: reduce FPs in useless parameter check for Kotlin code
This commit is contained in:
@@ -7,3 +7,5 @@ class B : A<B, Int> {
|
||||
println("a")
|
||||
}
|
||||
}
|
||||
|
||||
fun fn(a: Int = 10) {}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
| Test.kt:11:8:11:18 | a | The parameter 'a' is never used. |
|
||||
|
||||
Reference in New Issue
Block a user