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
+1 -1
View File
@@ -2175,7 +2175,7 @@ lexer_construct_regexp_object (parser_context_t *context_p, /**< context */
current_flags);
ecma_deref_ecma_string (pattern_str_p);
bool is_throw = ECMA_IS_VALUE_ERROR (completion_value) ? true : false;
bool is_throw = (bool) ECMA_IS_VALUE_ERROR (completion_value);
ecma_free_value (completion_value);