From 70fc66046bd1def69d8d9f4b4a7546a5891b5c9c Mon Sep 17 00:00:00 2001 From: temi54c1l8 Date: Tue, 11 Jun 2024 09:00:18 +0200 Subject: [PATCH] CO_SRDO: static analysis: no 'else' at end of 'if ... else if' chain [MISRA 2012 Rule 15.7, required] --- 304/CO_SRDO.c | 1 + 1 file changed, 1 insertion(+) diff --git a/304/CO_SRDO.c b/304/CO_SRDO.c index 65d6558..447e0fd 100644 --- a/304/CO_SRDO.c +++ b/304/CO_SRDO.c @@ -966,6 +966,7 @@ CO_SRDO_process(CO_SRDO_t* SRDO, uint32_t timeDifference_us, uint32_t* timerNext CO_FLAG_CLEAR(SRDO->CANrxNew[1]); } /* inverted message received */ } + else { /* MISRA C 2004 14.10 */ } /* verify timeouts */ if (SRDO->cycleTimer == 0U) {