Statechart Checks : (C2007) Elements using redundant context variables

(C2007) Elements using redundant context variables

Elements contain actions with context variables that are assigned a value, but not used in the action.
Error In:
Completeness
Erroneous Elements:
States, transitions, and actions