mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Fix maybe-uninitialized warning in ecma-objects.c (#1773)
During building jerryscript with arm-gcc-noneeabi 4.9.3, maybe-uninitialized warning occurred. This patch fixed the warning. JerryScript-DCO-1.0-Signed-off-by: Sanggyu Lee sg5.lee@samsung.com
This commit is contained in:
parent
4f4f75e1a8
commit
acf88d2fe8
@ -848,7 +848,7 @@ ecma_op_object_put (ecma_object_t *object_p, /**< the object */
|
||||
|
||||
if (proto_p != NULL)
|
||||
{
|
||||
ecma_property_ref_t property_ref;
|
||||
ecma_property_ref_t property_ref = { NULL };
|
||||
|
||||
ecma_property_t inherited_property = ecma_op_object_get_property (proto_p,
|
||||
property_name_p,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user