Uploaded image for project: 'SoftHSM'
  1. SoftHSM
  2. SOFTHSM-115

Fix static analysis warnings

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0b2
    • Fix Version/s: 2.0.0b3
    • Component/s: Build
    • Labels:
      None

      Description

      See email:

      Hello!

      Someone mentioned that you are working towards SoftHSM v2.0.0 release so it
      sounds like the right time to run static code analysis again.

      Fresh results from git head a9239137c73bf5e482accc5af8a4c1bbd375b394 are quite
      impressive!

      >From 143 defects detected back in September 2014 we are now down to 8 defects
      detected today.

      I'm attaching scan results to this e-mail.

      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.

        Attachments

          Activity

            People

            Assignee:
            rickard Rickard Bellgrim
            Reporter:
            rickard Rickard Bellgrim
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: