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:
committed by
László Langó
parent
4f4f75e1a8
commit
acf88d2fe8
@@ -848,7 +848,7 @@ ecma_op_object_put (ecma_object_t *object_p, /**< the object */
|
|||||||
|
|
||||||
if (proto_p != NULL)
|
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,
|
ecma_property_t inherited_property = ecma_op_object_get_property (proto_p,
|
||||||
property_name_p,
|
property_name_p,
|
||||||
|
|||||||
Reference in New Issue
Block a user