Coverity Issue:PW.DECLARED_BUT_NOT_REFERENCED

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Coverity Issue:PW.DECLARED_BUT_NOT_REFERENCED

2,915 Views
divijakatabathu
Contributor I

Hello,

There is a file in bsp_os/mqx  part in which an array(static constant) has defined but not used anywhere.

Due to this, coverity tool gives issue 'PW.DECLARED_BUT_NOT_REFERENCED'. So,according to the analysis, this array declaration/definition can be commented out in that particular file.

Also another similar type of issue is found in same file with a local variable.So, this variable can also be commented out.

Please correct me if I was wrong.

Thanks

Divija

0 Kudos
Reply
2 Replies

2,414 Views
soledad
NXP Employee
NXP Employee

Hello Divija,

Could you please let me know which MQX version, IDE and BSP are you using?

Regards

Sol

0 Kudos
Reply

2,414 Views
divijakatabathu
Contributor I

Hi Sol,

We are using MQX version- 4.1.0

                        IDE- eclipse (RTC-4.0.3)

Thanks & Regards

Divija

0 Kudos
Reply