[Softhsm-develop] static analysis results for git a9239137c73bf5e482accc5af8a4c1bbd375b394
Rickard Bellgrim
rickard at opendnssec.org
Tue Mar 31 11:52:31 UTC 2015
On Fri, Mar 27, 2015 at 1:46 PM, Petr Spacek <pspacek at redhat.com> wrote:
>
> >From 143 defects detected back in September 2014 we are now down to 8
> defects
> detected today.
>
Thanks, will have a look at this.
> Interestingly, gcc version 5.0.0 with -Wshadow option screams a lot and
> produces more than 250 warnings about shadowed variables. I'm not sure if
> the
> check makes sense in all cases but it is suspicious - these results are
> attached in shadow-warnings.err.bz2.
>
They can be resolved by renaming the variables, the behavior would still be
the same. Both the incoming variable and the member variable (after calling
the parent object) are pointing to the same object.
// Rickard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opendnssec.org/pipermail/softhsm-develop/attachments/20150331/b69e086b/attachment.htm>
More information about the Softhsm-develop
mailing list