Inspectopedia
 
2024.3

Redundant assignment

Warning
Last modified: 03 December 2024

Reports assignments of a variable to itself.

The quick-fix removes the redundant assignment.

Example:

After the quick-fix is applied: