On Tue, Feb 25, 2020 at 9:47 AM suyash singh <suyashsingh...@gmail.com> 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 without the first value being used. Is this what you are seeing? What file and line? We sometimes assign a variable 0 when declaring it to avoid gcc warning about used before initialized. It wouldn't surprise me if Scan didn't always like that. --joel > > > _______________________________________________ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel