Inspectopedia
 
2024.3

Unnecessary label on 'break' statement

Warning
Last modified: 03 December 2024

Reports break statements with unnecessary labels. Such labels do not change the control flow but make the code difficult to follow.

Example:

After the quick-fix is applied: