-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
1
-
StorEng - Defined Pipeline
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
/ext/storage_sources/dir_store/dir_store.c:765: DEADCODE 124090 At condition "ret == 0", the value of "ret" must be equal to 0.
/ext/storage_sources/dir_store/dir_store.c:759: DEADCODE 124090 Condition "(ret = link(src_path, dest_path)) != 0", taking false branch. Now the value of "ret" is equal to 0.
/ext/storage_sources/dir_store/dir_store.c:765: DEADCODE 124090 The condition "ret == 0" must be true.
- duplicates
-
WT-9684 Coverity analysis defect 124205: Redundant test
- Closed