-
Type: Bug
-
Resolution: Duplicate
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
Storage Engines
-
1
-
Storage Engines - 2022-06-27
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
/test/cppsuite/tests/cache_resize.cpp:163: DEADCODE 122253 Assigning: "first_record" = "false".
/test/cppsuite/tests/cache_resize.cpp:207: DEADCODE 122253 Condition "first_record", taking false branch. Now the value of "first_record" is equal to 0.
/test/cppsuite/tests/cache_resize.cpp:207: DEADCODE 122253 At condition "first_record", the value of "first_record" must be equal to 0.
/test/cppsuite/tests/cache_resize.cpp:207: DEADCODE 122253 The condition "first_record" cannot be true.
/test/cppsuite/tests/cache_resize.cpp:208: DEADCODE 122253 Execution cannot reach this statement: "first_record = false;".
- duplicates
-
WT-9409 Remove dead code, uninitialized and unused variables in cache_resize cpp test
- Closed