Inspectopedia
 
2024.3

Switch statement with no default case

Warning
Code Style
New
Last modified: 03 December 2024

Reports switch statements that do not contain default labels.

Some coding practices may insist on adding this label to all switch statements.