-Werror,-Wswitch

Change-Id: Ibe98acde990d5c9feb6c66455e1e82fa8232ac9e