If i use the Hitech compiler 9.65 and compile a Flowjob with a Switch Icon and than a jump to another Point,
then i have this message:
clock_13.c: FCM_progg_untermenue()
3379: break;
^ (345) unreachable code (warning)
3389: break;
^ (345) unreachable code (warning)
3399: break;
^ (345) unreachable code (warning)
3431: break;
^ (345) unreachable code (warning)
3441: break;
^ (345) unreachable code (warning)
3451: break;
^ (345) unreachable code (warning)
3560: break;
^ (345) unreachable code (warning)
3570: break;
^ (345) unreachable code (warning)
3580: break;
^ (345) unreachable code (warning)
3612: break;
^ (345) unreachable code (warning)
3622: break;
^ (345) unreachable code (warning)
3632: break;
^ (345) unreachable code (warning)
I think the word "break" in the c-code are superfluous, before i jump to another Point.
case 24:
{
//23
//Gehe zum Verbindungspunkt: : B
goto FCC_progg_untermenue_B;
break;
}
must I life with this warning?
Regards Andreas
Warnings with Hitech Compiler
Moderator: Benj
Warnings with Hitech Compiler
Last edited by fresh on Fri Nov 13, 2009 4:26 pm, edited 1 time in total.