Hi Tom,
Thank you for your reply.
Yes, I will put return "EL1" into an else statement to enhance the code structure. But we have a situation where the return statement is not present. What can we do with the below code to fix this violation?
Event misra_c_2012_rule_15_7_violation: No non-empty terminating "else" statement. if() {
} else if () {
}
Regards, Nithin G