Skip to content
  • John Koleszar's avatar
    Remove unnecessary ternary constructs · 0c2b2c79
    John Koleszar authored
    The code had a number of constructs like (condition)?1:0,
    which is redundant with C's semantics. In the cases where a boolean
    operator was used in the condition, simply remove the ternary part.
    Otherwise adjust the surrounding expression to remove the condition
    (eg, for rounding up. See pickinter.c and rdopt.c)
    
    Change-Id: Icb2372defa3783cf31857d90b2630d06b2c7e1be
    0c2b2c79