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

Coverity analysis defect 99881: Redundant test

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.14
    • Component/s: WiredTiger
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      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

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: