Inspectopedia
 
2024.3

Duplicate operand in comparison

Info
New
Last modified: 03 December 2024

Reports duplicate operands in binary expressions (+, -, *, /, &&, ||, and .) that are in turn used inside comparison expressions. Such operands do not affect the comparison result and can be safely removed.