Add default case to remove warning "The enum constant 'X' needs a
corresponding case label in this enum switch on 'Y'"