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/db/timeseries/timeseries_options.cpp:141: DEADCODE 134024 At condition "allowSecondsParameters", the value of "allowSecondsParameters" must be equal to 1.
/src/mongo/db/timeseries/timeseries_options.cpp:134: DEADCODE 134024 Condition "allowSecondsParameters", taking true branch. Now the value of "allowSecondsParameters" is equal to 1.
/src/mongo/db/timeseries/timeseries_options.cpp:141: DEADCODE 134024 The condition "allowSecondsParameters" must be true.
- related to
-
SERVER-70809 Simplify logic in timeseries options
- Closed