• Daniel Black's avatar
    ma_recovery: unintentional order of operations · ec4e3955
    Daniel Black authored
    Coverity report this as:
    CID 971840 (#1 of 1): Operands don't affect result (CONSTANT_EXPRESSION_RESULT)
    result_independent_of_operands: 4 | (flags & 1) is always true regardless of the values of its operands. This occurs as the logical first operand of "?:".
    
    The C order of precidence has | of higher precidence than ?:. The
    intenting implies an | of the 3 terms.
    
    Adjust to intented meaning.
    ec4e3955
ma_recovery.c 122 KB