Coverity false positive pattern

Chris Johns chrisj at rtems.org
Wed Feb 26 00:10:02 UTC 2020


On 26/2/20 8:00 am, Gedare Bloom wrote:
> On Tue, Feb 25, 2020 at 9:38 AM suyash singh <suyashsingh234 at gmail.com> wrote:
>>
>> Yes it is showing for unused values
>>
>> For example at line 262 in https://scan5.coverity.com/reports.htm#v53137/p10069/fileInstanceId=164938787&defectInstanceId=45953284&mergedDefectId=1399751
>>
> That appears to be legitimate. Analysis now has to be made whether the
> value written should have been consumed somewhere, or if it is OK to
> remove the assignment.

This is imported code. Should upstream be checked first to see if there is a
newer version?

Chris


More information about the devel mailing list