Inspectopedia
 
2024.3

'if' statement with identical branches

Warning
Reliability
New
Last modified: 03 December 2024

Reports an if statement with identical then and else branches. Such statements are almost certainly an error.