[Softhsm-develop] static analysis results for git a9239137c73bf5e482accc5af8a4c1bbd375b394

Rickard Bellgrim rickard at opendnssec.org
Wed Apr 15 19:06:46 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.
>

Still have 6 defects left:
* 4 DEADCODE because the code is there to support additional algorithms in
the future.
* 2 CHECKED_RETURN because the calls are just dummy calls made upon an
error.


> 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.
>

Renaming the variables fixed the warnings.

All changes are in https://github.com/opendnssec/SoftHSMv2/pull/118

// Rickard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opendnssec.org/pipermail/softhsm-develop/attachments/20150415/9d1e700f/attachment.htm>


More information about the Softhsm-develop mailing list