22-04-2020, 04:16 PM
This is a DD anomaly, not DU, so is compliant with 0-1-6. However it ought to be regarded as having dead-code, and be reported by 0-1-9.
Unfortunately, the current wording of 0-1-9 which talks about 'removing statements' means that this isn't dead-code by 0-1-9's definition. We are looking at this for the next version
Unfortunately, the current wording of 0-1-9 which talks about 'removing statements' means that this isn't dead-code by 0-1-9's definition. We are looking at this for the next version
Posted by and on behalf of
the MISRA C++ Working Group
the MISRA C++ Working Group