Code Inspection: Variable is assigned to itself

Last modified: 16 July 2021

Configure inspections: Settings / Preferences | Editor | Inspections

Reports assignments of the form x = x. These are pointless, and usually indicate programmer error.