#1213 AvoidLiteralsInIfCondition -- switch for integer comparison with 0