-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Storage Engines, Storage Engines - Foundations
-
SE Foundations - Q3+ Backlog
-
1
'Constant' variable guards dead code
A variable being assigned only once may be intentionally guarding disabled code, or it may represent incomplete logic where a missing assignment would make the variable not be constant. Variable assigned once to a constant guards dead code.
/ext/page_log/palm/palm.c:956: DEADCODE 175404 Assigning: "was_zeroed_encryption" = "true".
/ext/page_log/palm/palm.c:996: DEADCODE 175404 Condition "was_zeroed_encryption", taking true branch. Now the value of "was_zeroed_encryption" is equal to 1.
/ext/page_log/palm/palm.c:996: DEADCODE 175404 At condition "was_zeroed_encryption", the value of "was_zeroed_encryption" must be equal to 1.
/ext/page_log/palm/palm.c:996: DEADCODE 175404 The condition "!was_zeroed_encryption" cannot be true.
/ext/page_log/palm/palm.c:997: DEADCODE 175404 Execution cannot reach this statement: "ret = palm_err(palm, sessio...".