
Small wording change ## Review A dedicated reviewer checked the rule description successfully for: - [ ] logical errors and incorrect information - [ ] information gaps and missing content - [ ] text style and tone - [ ] PR summary and labels follow [the guidelines](https://github.com/SonarSource/rspec/#to-modify-an-existing-rule)
4 lines
330 B
Plaintext
4 lines
330 B
Plaintext
:intro: Storing a value inside a collection at a given key or index and then unconditionally overwriting it without reading the initial value is a case of a "dead store".
|
|
|
|
:outro: This practice is redundant and will cause confusion for the reader. More importantly, it is often an error and not what the developer intended to do.
|