Use "unnecessary variable" inspection in J2K
Unused variables are no more treated as unnecessary Related to KT-15958
This commit is contained in:
@@ -5,8 +5,7 @@ class C {
|
||||
try {
|
||||
ByteArrayInputStream(ByteArray(10)).use { stream ->
|
||||
// reading something
|
||||
val c = stream.read()
|
||||
return c
|
||||
return stream.read()
|
||||
}
|
||||
} catch (e: IOException) {
|
||||
println(e)
|
||||
|
||||
Reference in New Issue
Block a user