1 voteCarl commented
Wouldn't adding a "-dDO_DEBUG" to your lint file resolve this issue? Then Lint should always see your else blocks as non-empty.
16 votesCarl shared this idea ·
3 votesCarl commented
I've also wished for a similar enhancement to some older , non-Misra related messages. It seems now like many of them do. I don't know if this has been addressed in the older messages since I first thought of it.