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

Coverity analysis defect 138033: Logically dead code

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • ALL

      Logically dead code

      The indicated dead code may have performed some action; that action will never occur. Code can never be reached because of a logical contradiction
      /src/mongo/db/query/telemetry.cpp:378: DEADCODE 138033 Condition "applyHmacToIdentifiers", taking true branch. Now the value of "applyHmacToIdentifiers" is equal to 1.
      /src/mongo/db/query/telemetry.cpp:404: DEADCODE 138033 At condition "applyHmacToIdentifiers", the value of "applyHmacToIdentifiers" must be equal to 1.
      /src/mongo/db/query/telemetry.cpp:404: DEADCODE 138033 The condition "applyHmacToIdentifiers" must be true.
      /src/mongo/db/query/telemetry.cpp:404: DEADCODE 138033 Execution cannot reach this statement: "<temporary>.SerializationOp...".

            Assignee:
            backlog-query-integration [DO NOT USE] Backlog - Query Integration
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: