Remove shadowed declarations, undefined identifiers, and specify argument types where it is required. (#1601)
JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
This commit is contained in:
@@ -387,7 +387,7 @@ re_parse_alternative (re_compiler_ctx_t *re_ctx_p, /**< RegExp compiler context
|
||||
: RE_OP_CHAR_CLASS);
|
||||
uint32_t offset = re_get_bytecode_length (re_ctx_p->bytecode_ctx_p);
|
||||
|
||||
ECMA_TRY_CATCH (empty,
|
||||
ECMA_TRY_CATCH (empty_value,
|
||||
re_parse_char_class (re_ctx_p->parser_ctx_p,
|
||||
re_append_char_class,
|
||||
re_ctx_p,
|
||||
@@ -400,7 +400,7 @@ re_parse_alternative (re_compiler_ctx_t *re_ctx_p, /**< RegExp compiler context
|
||||
re_insert_simple_iterator (re_ctx_p, new_atom_start_offset);
|
||||
}
|
||||
|
||||
ECMA_FINALIZE (empty);
|
||||
ECMA_FINALIZE (empty_value);
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ typedef struct
|
||||
ecma_value_t
|
||||
re_compile_bytecode (const re_compiled_code_t **out_bytecode_p, ecma_string_t *pattern_str_p, uint16_t flags);
|
||||
|
||||
void re_cache_gc_run ();
|
||||
void re_cache_gc_run (void);
|
||||
|
||||
/**
|
||||
* @}
|
||||
|
||||
Reference in New Issue
Block a user