rspec/rules/S4487/why.adoc

4 lines
258 B
Plaintext
Raw Permalink Normal View History

2023-05-29 18:35:17 +02:00
Private fields which are written but never read are a case of "dead store". Changing the value of such a field is useless and most probably indicates an error in the code.
:outro: Remove this field if it doesn't need to be read, or fix the code to read it.