-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
Fully Compatible
-
ALL
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Code can never be reached because of a logical contradiction
Defect 72696 (STATIC_C)
Checker DEADCODE (subcategory none)
File: /src/mongo/db/query/plan_cache.cpp
Function mongo::<unnamed>::encodeGeoNearMatchExpression(const mongo::GeoNearMatchExpression *, mongo::StringBuilderImpl<mongo::TrivialAllocator> *)
/src/mongo/db/query/plan_cache.cpp, line: 178
At condition "(bool)1L", the value of "1L" must be between 0 and 1.
invariant(false);
/src/mongo/db/query/plan_cache.cpp, line: 178
The condition "(bool)1L" must be true.
invariant(false);
/src/mongo/db/query/plan_cache.cpp, line: 179
Execution cannot reach this statement: "break;".
break;