AnsweredAssumed Answered

Coverity Issue:PW.DECLARED_BUT_NOT_REFERENCED

Question asked by Divija Katabathuni on May 23, 2016
Latest reply on May 26, 2016 by Divija Katabathuni

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

Outcomes