switch statement has redundant 'default' label; all possible 'case' labels are given
This message is generated in places where you have both 'true' and 'false' cases in addition to a default label.