Adding 'default' case to all the switches

Switches without default case is bad code.