rspec/rules/S4487/why.adoc
2023-06-15 08:54:48 +02:00

4 lines
258 B
Plaintext

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.