Default severity: warning
Comparisons and non-idempotent operations with identical expressions on both
sides are usually copy-and-paste mistakes. Floating-point expressions are
excluded because NaN makes self-comparisons meaningful.
Bad
if left == left { use() }Good
if left == right { use() }