Initialize variable to eliminate may be used uninitialized warnings (#4297)
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs roland.takacs@h-lab.eu Co-authored-by: Roland Takacs <roland.takacs@h-lab.eu>
This commit is contained in:
@@ -1745,7 +1745,7 @@ ecma_builtin_typedarray_prototype_dispatch_routine (uint16_t builtin_routine_id,
|
||||
}
|
||||
|
||||
ecma_object_t *typedarray_p = ecma_get_object_from_value (this_arg);
|
||||
ecma_typedarray_info_t info;
|
||||
ecma_typedarray_info_t info = { 0 };
|
||||
|
||||
if (builtin_routine_id < ECMA_TYPEDARRAY_PROTOTYPE_ROUTINE_BUFFER_GETTER)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user