Inspectopedia
 
2024.3

Pointless arithmetic expression

Warning
Performance
New
Last modified: 03 December 2024

Reports an arithmetic expression that include adding or subtracting zero, multiplying by zero or one, division by one, and shift by zero. Such expressions may result from not fully completed automated refactoring.