Add "unnecessary local variable" inspection #KT-15958 Fixed

This commit is contained in:
Mikhail Glukhikh
2017-07-12 11:26:51 +03:00
parent 9d06a80519
commit 987c7f5be8
16 changed files with 232 additions and 0 deletions
@@ -0,0 +1,6 @@
<html>
<body>
This inspection reports local variables either used only in the very next return or exact copies of other variables.
In both cases it's better to inline such a variable.
</body>
</html>