Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c70f3d3 commit 3507873Copy full SHA for 3507873
2 files changed
java/ql/test/kotlin/query-tests/UselessParameter/Test.kt
@@ -19,3 +19,6 @@ object O {}
19
fun C.fn() {}
20
fun C.Companion.fn() {}
21
fun O.fn() {}
22
+
23
+@Suppress("UNUSED_PARAMETER")
24
+fun fn2(a: Int) {}
java/ql/test/kotlin/query-tests/UselessParameter/UselessParameter.expected
@@ -1,2 +1,3 @@
1
| Test.kt:11:8:11:18 | a | The parameter 'a' is never used. |
2
| Test.kt:19:5:19:5 | <this> | The parameter '<this>' is never used. |
3
+| Test.kt:24:9:24:14 | a | The parameter 'a' is never used. |
0 commit comments