Code inspection: Remove redundant statement
This inspection reports a boolean compound assignment with false that never changes the result. For |= false, the statement is always redundant because x | false is just x.
Example
bool ready = GetValue();
ready |= false;
bool ready = GetValue();
Quick-fix
Remove the redundant statement.
29 March 2026