Get rid of ? true : false (#2575)

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
Akos Kiss
2018-10-29 14:51:59 +01:00
committed by GitHub
parent 34c5e229ee
commit aeddb1cd88
4 changed files with 8 additions and 8 deletions
@@ -650,7 +650,7 @@ ecma_builtin_number_prototype_object_to_fixed (ecma_value_t this_arg, /**< this
num_digits + 1,
exponent + frac_digits,
&exponent,
ecma_number_is_zero (this_num) ? true : false);
ecma_number_is_zero (this_num));
/* Buffer that is used to construct the string. */
int buffer_size = (exponent > 0) ? exponent + frac_digits + 2 : frac_digits + 3;