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

Coverity analysis defect 121526: Redundant test

      Redundant test

      By the time the program execution reaches the test of this condition there is only one possible outcome for the test. The code at the destination of this branch is not dead, either because this condition is always true or because there is at least one other branch that reaches it. Test always evaluates the same
      /src/btree/bt_sync.c:296: DEADCODE 121526 At condition "hazard", the value of "hazard" must be equal to 1.
      /src/btree/bt_sync.c:225: DEADCODE 121526 Assigning: "hazard" = "true".
      /src/btree/bt_sync.c:296: DEADCODE 121526 The condition "hazard" must be true.

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: