Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-26060

Coverity analysis defect 99881: Redundant test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.3.14
    • WiredTiger
    • Fully Compatible
    • ALL

    Description

      Test always evaluates the same

      Defect 99881 (STATIC_C)
      Checker DEADCODE (subcategory redundant_test)
      File: /src/third_party/wiredtiger/src/evict/evict_lru.c
      Function __evict_get_ref
      /src/third_party/wiredtiger/src/evict/evict_lru.c, line: 1590
      At condition "is_app", the value of "is_app" must be equal to 1.

          		if (!urgent_ok && (is_server || (is_app &&

      /src/third_party/wiredtiger/src/evict/evict_lru.c, line: 1590
      The condition "is_app" must be true.

          		if (!urgent_ok && (is_server || (is_app &&

      Attachments

        Issue Links

          Activity

            People

              michael.cahill@mongodb.com Michael Cahill (Inactive)
              xgen-internal-coverity Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: