Fixed a build warning for a missing switch case.