Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » CODAN warning: Unused declaration of variable 'pxCurrentTCB'
CODAN warning: Unused declaration of variable 'pxCurrentTCB' [message #964104] Tue, 30 October 2012 05:00 Go to next message
Eclipse UserFriend
Hello,

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 ?

Greetings,
Han
Re: CODAN warning: Unused declaration of variable 'pxCurrentTCB' [message #964209 is a reply to message #964104] Tue, 30 October 2012 06:44 Go to previous message
Eclipse UserFriend
Sounds like a bug.
https://bugs.eclipse.org/bugs/query.cgi
Previous Topic:CODAN problems "semantic error"
Next Topic:Building C++ project with make file
Goto Forum:
  


Current Time: Fri Jul 25 20:23:54 EDT 2025

Powered by FUDForum. Page generated in 0.04599 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top