18-12-2020, 09:14 AM
Yes, that code snippet is accepted by the checker. I would expect that it would be because, for example, (0==1) is valid whether the values 0 and 1 are treated as boolean or as signed integers.
Welcome to the new MISRA discussion forum, if you were previously a member of our forums you may need to reset your password.
No operators in #if
|
« Next Oldest | Next Newest »
|
Messages In This Thread |