Re: Coverity false positive pattern

2020-02-25 Thread Joel Sherrill
On Tue, Feb 25, 2020, 6:10 PM Chris Johns wrote: > On 26/2/20 8:00 am, Gedare Bloom wrote: > > On Tue, Feb 25, 2020 at 9:38 AM suyash singh > wrote: > >> > >> Yes it is showing for unused values > >> > >> For example at line 262 in > https://scan5.coverity.com/reports.htm#v53137/p10069/fileInsta

Re: Coverity false positive pattern

2020-02-25 Thread Chris Johns
On 26/2/20 8:00 am, Gedare Bloom wrote: > On Tue, Feb 25, 2020 at 9:38 AM suyash singh 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=139975

Re: Coverity false positive pattern

2020-02-25 Thread Joel Sherrill
On Tue, Feb 25, 2020, 3:00 PM Gedare Bloom wrote: > On Tue, Feb 25, 2020 at 9:38 AM suyash singh > 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&merge

Re: Coverity false positive pattern

2020-02-25 Thread Gedare Bloom
On Tue, Feb 25, 2020 at 9:38 AM suyash singh 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

Re: Coverity false positive pattern

2020-02-25 Thread suyash singh
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 On Tue, Feb 25, 2020 at 9:21 PM Joel Sherrill wrote: > > > On Tue, Feb 25, 2020 at 9:47 AM suyash singh

Re: Coverity false positive pattern

2020-02-25 Thread Joel Sherrill
On Tue, Feb 25, 2020 at 9:47 AM suyash singh wrote: > Coverity shows value_overwrite errors for variables which are reassigned > new values. What should be the procedure to prevent these? > When I have seen these in the past, they indicate a case where a variable is assigned and assigned later w

Coverity false positive pattern

2020-02-25 Thread suyash singh
Coverity shows value_overwrite errors for variables which are reassigned new values. What should be the procedure to prevent these? ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel