[analyzer] Corrected the switch statement.