-Werror,-Wswitch

Change-Id: I3e3ee66c8d965e13f5efbbaf811764d976ebff93