-Werror,-Wswitch

Change-Id: Icbf6fa0ef02d7d8329839d7967e7e45d3e9f2b77