Useless case for if statement