Unnecessary 'break' statement

Last modified: 03 December 2024

Reports any unnecessary break statements.

An break statement is unnecessary if no other statements are executed after it has been removed.

Example: