-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Minor - P4
-
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
/src/cursor/cur_std.c:1307: DEADCODE 133975 At condition "have_action", the value of "have_action" must be equal to 1.
/src/cursor/cur_std.c:1238: DEADCODE 133975 Condition "have_action", taking true branch. Now the value of "have_action" is equal to 1.
/src/cursor/cur_std.c:1236: DEADCODE 133975 Assigning: "have_action" = "true".
/src/cursor/cur_std.c:1307: DEADCODE 133975 The condition "have_action" must be true.