-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
-
Fully Compatible
-
ALL
-
QI 2023-05-15, QI 2023-05-29
-
None
-
None
-
None
-
None
-
None
-
None
-
None
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 137987 Condition "redactIdentifiers", taking true branch. Now the value of "redactIdentifiers" is equal to 1.
/src/mongo/db/query/telemetry.cpp:404: DEADCODE 137987 Condition "redactIdentifiers", taking true branch. Now the value of "redactIdentifiers" is equal to 1.
/src/mongo/db/query/telemetry.cpp:421: DEADCODE 137987 At condition "redactIdentifiers", the value of "redactIdentifiers" must be equal to 1.
/src/mongo/db/query/telemetry.cpp:421: DEADCODE 137987 The condition "redactIdentifiers" must be true.
/src/mongo/db/query/telemetry.cpp:425: DEADCODE 137987 Execution cannot reach this statement: "<temporary>.BSONObj(key);".
- is duplicated by
-
SERVER-76882 Coverity analysis defect 138033: Logically dead code
-
- Closed
-