CO_gateway_ascii: static analysis: switch case lacks unconditional break or throw [MISRA 2012 Rule 16.3, required]
This commit is contained in:
parent
d7b77c7dd6
commit
ebf549db2b
1 changed files with 1 additions and 0 deletions
|
|
@ -1549,6 +1549,7 @@ void CO_GTWA_process(CO_GTWA_t *gtwa,
|
||||||
else switch (gtwa->state) {
|
else switch (gtwa->state) {
|
||||||
case CO_GTWA_ST_IDLE: {
|
case CO_GTWA_ST_IDLE: {
|
||||||
return; /* skip timerNext_us calculation */
|
return; /* skip timerNext_us calculation */
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if ((CO_CONFIG_GTW) & CO_CONFIG_GTW_ASCII_SDO) != 0
|
#if ((CO_CONFIG_GTW) & CO_CONFIG_GTW_ASCII_SDO) != 0
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue