WaE: -Werror=switch

Change-Id: I347bcc82795da95f14ad9be90cc6c9020fd697ca