Take care of unreachable code in case statement