Code Inspection: 'switch' statement has missing branches
Configure inspections: Settings | Editor | Inspections
Show intention actions: AltEnter
Reports a switch
statement on a variable of the type enum
or union
when the statement doesn't cover some value options from the type.
Place the caret at the highlighted line and press AltEnter or click
.
Click the arrow next to the inspection you want to suppress and select the necessary suppress action.