12-10-2016, 08:39 AM
Hi,
In my code I have a static const array which is declared outside the block scope of the function where it’s used. Also it is only used by one function, so the Note 9003 is correct.
But the array is large and will ruin the overview of the function. So I want to suppress the warning using /*lint -e9003*/ before the array and /*lint +e9003*/ behind it.
But this has no effect. As I suppress the warning global it works, but this shall not be the way to do.
Any idea how to suppress the warning local for just one variable?
In my code I have a static const array which is declared outside the block scope of the function where it’s used. Also it is only used by one function, so the Note 9003 is correct.
But the array is large and will ruin the overview of the function. So I want to suppress the warning using /*lint -e9003*/ before the array and /*lint +e9003*/ behind it.
But this has no effect. As I suppress the warning global it works, but this shall not be the way to do.
Any idea how to suppress the warning local for just one variable?
<t></t>