Dead assignment to hs_dhandle

XMLWordPrintableJSON

    • Storage Engines
    • StorEng - 2025-03-14
    • 1

      Unused value

      An assigned value that is never used may represent unnecessary computation, an incorrect algorithm, or possibly the need for cleanup or refactoring. A value assigned to a variable is never used.
      /src/checkpoint/checkpoint_txn.c:1255: UNUSED_VALUE 168104 Overwriting previous write to "hs_dhandle" with value from "session->dhandle".
      /src/checkpoint/checkpoint_txn.c:1076: UNUSED_VALUE 168104 Assigning value "NULL" to "hs_dhandle" here, but that stored value is overwritten before it can be used.

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: