Fix incorrect read-only initialization of bm->switch_object_end method

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • WT11.3.0, 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines
    • None
    • 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/block_cache/block_mgr.c:951: UNUSED_VALUE 138594 Overwriting previous write to "bm->switch_object" with value from "__bm_switch_object_end_readonly".
      /src/block_cache/block_mgr.c:950: UNUSED_VALUE 138594 Assigning value from "__bm_switch_object_readonly" to "bm->switch_object" here, but that stored value is overwritten before it can be used.

              Assignee:
              Keith Smith
              Reporter:
              Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: