Coverity Issue:PW.DECLARED_BUT_NOT_REFERENCED

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Coverity Issue:PW.DECLARED_BUT_NOT_REFERENCED

3,002件の閲覧回数
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,501件の閲覧回数
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,501件の閲覧回数
divijakatabathu
Contributor I

Hi Sol,

We are using MQX version- 4.1.0

                        IDE- eclipse (RTC-4.0.3)

Thanks & Regards

Divija

0 件の賞賛
返信