29-01-2021, 03:11 PM
The use of unqualified "never" in the headline is unfortunate.
The intent was that values given to a local variable should be used on all paths through a function on which the variable is accessible - as illustrated by the example.
This rule is under review for the next release
The intent was that values given to a local variable should be used on all paths through a function on which the variable is accessible - as illustrated by the example.
This rule is under review for the next release
Posted by and on behalf of
the MISRA C++ Working Group
the MISRA C++ Working Group