Statechart Checks : (C1101) Subroutines with illegal/missing return command

(C1101) Subroutines with illegal/missing return command

There are functions without a RETURN command, procedures with a RETURN command, or a function with a return type that conflicts with the returned value’s type.
Error In:
Correctness
Erroneous Elements:
Subroutines