Coverity Issue:PW.DECLARED_BUT_NOT_REFERENCED

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Coverity Issue:PW.DECLARED_BUT_NOT_REFERENCED

2,988 次查看
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 项奖励
回复
2 回复数

2,487 次查看
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 项奖励
回复

2,487 次查看
divijakatabathu
Contributor I

Hi Sol,

We are using MQX version- 4.1.0

                        IDE- eclipse (RTC-4.0.3)

Thanks & Regards

Divija

0 项奖励
回复