Re:switch case issue with XC8 compiler
Well it seems to me that it is a valid warning. The break line will never be reached because of the unconditional return before it. As the break generates a BRA / GOTO instruction that will never be executed it seems reasonable to me to be advised of that. There is no need for the break instructions in the above case statements.