Statechart Checks : (C1125) Switch/Case structure contains more than one default entry

(C1125) Switch/Case structure contains more than one default entry

The switch_c statement has more than one default case entry, or the case_ada statement has more than one others when_ada entry.
Error In:
Correctness
Example:
switch_c (X)
{
case_c 1:
Y=1;
default:
Y=0;
case_c 2:
Y=2;
default:
Y=3;
}
Erroneous Elements:
Actions, states, and transition labels