Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-12896

Coverity analysis defect 139576: Unused value

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Engines
    • StorEng - Defined Pipeline

      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/meta/meta_ckpt.c:1375: UNUSED_VALUE 139576 Overwriting previous write to "original_ptr" with value from "(uint8_t *)original_bitmap->data".
      /src/meta/meta_ckpt.c:1362: UNUSED_VALUE 139576 Assigning value "NULL" to "original_ptr" here, but that stored value is overwritten before it can be used.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: