|
Test always evaluates the same
Defect 73688 (STATIC_C)
Checker DEADCODE (subcategory redundant_test)
File: /src/mongo/db/commands/geo_near_cmd.cpp
Function mongo::Geo2dFindNearCmd::run(mongo::OperationContext *, const std::basic_string<char, std::char_traits<char>, std::allocator<char>>&, mongo::BSONObj &, int, std::basic_string<char, std::char_traits<char>, std::allocator<char>>&, mongo::BSONObjBuilder &)
/src/mongo/db/commands/geo_near_cmd.cpp, line: 104
Condition "collection", taking true branch. Now the value of "collection" is not "NULL".
/src/mongo/db/commands/geo_near_cmd.cpp, line: 284
At condition "collection", the value of "collection" cannot be "NULL".
/src/mongo/db/commands/geo_near_cmd.cpp, line: 284
The condition "collection" must be true.
|