Inspectopedia
 
2024.3

Self assignment

Info
Code Style
New
Last modified: 03 December 2024

Reports expressions that are assigned to themselves.

Such assignments have no effect, removing them might improve code readability.

Example: