Inspectopedia
 
2024.3

Fallthrough in 'switch' statement

Warning
Reliability
New
Last modified: 03 December 2024

Reports a switch statement where control can proceed from a branch to the next one. Such "fall-through" often indicates an error, for example, a missing break or return.