(C3138) Switch/Case structure contains more than one default entry
Switch/Case structures within an activity’s mini-spec have more than onedefault
statement.ActivityACT_1
contains the following mini-spec:(SWITCH_VAL)/switch_c (SWITCH_VAL) {
case_c 1: OUT1=RED;break;
case_c 2: OUT1=AMBER;break;
case_c 3: OUT1=GREEN;break;
default : OUT1=RED;
default : OUT=AMBER;}The error is generated because there is more than onedefault
statement.