Initialize variable to eliminate may be used uninitialized warnings (#4297)
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs [email protected] Co-authored-by: Roland Takacs <[email protected]>
This commit is contained in:
co-authored by
Roland Takacs
parent
870dbff1c7
commit
3c9a7915e1
@@ -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_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)
|
if (builtin_routine_id < ECMA_TYPEDARRAY_PROTOTYPE_ROUTINE_BUFFER_GETTER)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user