Inspectopedia
 
2024.3

Infinite loop statement

Warning
Last modified: 03 December 2024

Reports a for, while, or do statement that can only exit by throwing an exception. Although such statements may be correct, they often indicate a coding error.