Eliminate duplicated statements in re-parser.c
JerryScript-DCO-1.0-Signed-off-by: Robert Sipka
@@ -215,14 +215,14 @@ re_parse_iterator (re_parser_ctx_t *parser_ctx_p, /**< RegExp parser context */
if (qmax != RE_ITERATOR_INFINITE)
{
re_token_p->qmin = qmax;
- re_token_p->qmax = qmin;
}
else
{
re_token_p->qmin = qmin;
- re_token_p->qmax = qmin;
}
+ re_token_p->qmax = qmin;
+
break;
}
else
