-Werror,-Wswitch

Change-Id: I6cf157c72216d0c0784cae84669e8203500f4c34