From 7bed0f56f1cad887bfd08414f634fb27165de46a Mon Sep 17 00:00:00 2001 From: Sanggyu Lee Date: Mon, 24 Apr 2017 10:04:12 +0900 Subject: [PATCH] Fix maybe-uninitialized warning in ecma-objects.c 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 --- jerry-core/ecma/operations/ecma-objects.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jerry-core/ecma/operations/ecma-objects.c b/jerry-core/ecma/operations/ecma-objects.c index 45e0f34ca3..6163bf4e07 100644 --- a/jerry-core/ecma/operations/ecma-objects.c +++ b/jerry-core/ecma/operations/ecma-objects.c @@ -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,