rspec/rules/S1481/description.adoc

2 lines
189 B
Plaintext
Raw Normal View History

2020-06-30 12:47:33 +02:00
If a local variable is declared but not used, it is dead code and should be removed. Doing so will improve maintainability because developers will not wonder what the variable is used for.