Coverity analysis defect 139576: Unused value

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Checkpoints
    • Storage Engines, Storage Engines - Persistence
    • StorEng - Defined Pipeline
    • None

      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:
              [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: