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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user