[SERVER-76882] Coverity analysis defect 138033: Logically dead code Created: 05/May/23  Updated: 05/May/23  Resolved: 05/May/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: Backlog - Query Integration
Resolution: Duplicate Votes: 0
Labels: coverity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-76689 Coverity analysis defect 137987: Logi... Closed
Assigned Teams:
Query Integration
Operating System: ALL
Participants:

 Description   

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...".


Generated at Thu Feb 08 06:33:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.