Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Could
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.30.0
    • Component/s: None
    • Labels:
    • Complexity:
      Low

      Description

      SonarQube:

      A dead store happens when a local variable is assigned a value that is not read by any subsequent instruction. Calculating or retrieving a value only to then overwrite it or throw it away, could indicate a serious error in the code. Even if it's not an error, it is at best a waste of resources. Therefore all calculated values should be used.

      Problem:
      The variable is assigned a value, which line is further overwritten.

      Solution:
      Removal of an unused assignment.

      Where the problem occurs:

      Support materials:

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              gracebish grace nakiguli
              Reporter:
              sacull Lukasz Debicki
              Designated Committer:
              Daniel Kayiwa Daniel Kayiwa
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 weeks
                  2w