Redundant test
By the time the program execution reaches the test of this condition there is only one possible outcome for the test. The code at the destination of this branch is not dead, either because this condition is always true or because there is at least one other branch that reaches it. Test always evaluates the same
/src/mongo/bson/bsonelement.h:1061: DEADCODE 120812 At condition "sameMax", the value of "sameMax" must be equal to 1.
/src/mongo/bson/bsonelement.h:1060: DEADCODE 120812 Condition "sameMax", taking true branch. Now the value of "sameMax" is equal to 1.
/src/mongo/bson/bsonelement.h:1059: DEADCODE 120812 Assigning: "sameMax" = "true".
/src/mongo/bson/bsonelement.h:1060: DEADCODE 120812 The condition "sameMax" must be true.
- is related to
-
SERVER-48076 implicit conversion from 'long long' to 'double' in oplog_stone_parameters_gen.cpp
- Closed