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

Coverity analysis defect 123999: Redundant test

    XMLWordPrintable

Details

    • Bug
    • Status: In Progress
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • None
    • 1
    • StorEng - Defined Pipeline

    Description

      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/evict/evict_lru.c:463: DEADCODE 123999 At condition "verbose_timeout_flags", the value of "verbose_timeout_flags" must be equal to 0.
      /src/evict/evict_lru.c:392: DEADCODE 123999 Assigning: "verbose_timeout_flags" = "false".
      /src/evict/evict_lru.c:463: DEADCODE 123999 The condition "!verbose_timeout_flags" must be true.

      Attachments

        Activity

          People

            luke.chen@mongodb.com Luke Chen
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: