Activity Chart Checks : (C4101) Textual subroutines using redundant local variables

(C4101) Textual subroutines using redundant local variables

Error In:
Completeness
Description:
Local variables of a textual subroutines are affected (modified or generated) but not used.
Format:
<local variable name> in <subroutine name>
 
 
Example:
Subroutine F1 is defined to be a function with input parameter X that returns an integer Y and has two local variables (A and B) defined:

A=B;
B=X+3;
Y=B;
return(Y)

 

In this case, A is a redundant local variable.
Erroneous Elements:
Subroutines