|CODAN warning: Unused declaration of variable 'pxCurrentTCB' [message #964104]
||Tue, 30 October 2012 05:00
| Han Hoekstra
Registered: July 2009
Location: The Netherlands
I think I have discovered a problem in the Code Analysis software.
I get the warning: Unused declaration of variable 'pxCurrentTCB'
The code line is: extern tskTCB *pxCurrentTCB;
The variable pxCurrentTCB is not used in C-code, but is used in a macro called 'portSAVE_CONTEXT', which is a define that declares an asm block.
This is all part of FreeRTOS.
So it seems that CODAN can not see the variable being used, because it is in an asm block.
Should I report this problem in some bug database ? If so, where ?
Powered by FUDForum
. Page generated in 0.01638 seconds